diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2012-08-01 02:29:24 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2012-08-01 02:29:24 +0000 |
commit | 0820f0ca8e3f2574b15d3a653c8910fb80c1a9f2 (patch) | |
tree | 40b974ea691c0d1f38020cc0345bde640f3350a1 /llvm/unittests/ExecutionEngine/JIT/JITTest.cpp | |
parent | 21f80bad4580ff6f8fd36853d26df1fdb627ee5d (diff) | |
download | bcm5719-llvm-0820f0ca8e3f2574b15d3a653c8910fb80c1a9f2.tar.gz bcm5719-llvm-0820f0ca8e3f2574b15d3a653c8910fb80c1a9f2.zip |
Implement MipsJITInfo::replaceMachineCodeForFunction.
No new test case is added.
This patch makes test JITTest.FunctionIsRecompiledAndRelinked pass on mips
platform.
Patch by Petar Jovanovic.
llvm-svn: 161098
Diffstat (limited to 'llvm/unittests/ExecutionEngine/JIT/JITTest.cpp')
-rw-r--r-- | llvm/unittests/ExecutionEngine/JIT/JITTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp b/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp index 0fde6fc66b9..89f7e8e4229 100644 --- a/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp +++ b/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp @@ -555,10 +555,10 @@ TEST_F(JITTest, FunctionPointersOutliveTheirCreator) { #endif } -// ARM and MIPS do not have an implementation +// ARM does not have an implementation // of replaceMachineCodeForFunction(), so recompileAndRelinkFunction // doesn't work. -#if !defined(__arm__) && !defined(__mips__) +#if !defined(__arm__) TEST_F(JITTest, FunctionIsRecompiledAndRelinked) { Function *F = Function::Create(TypeBuilder<int(void), false>::get(Context), GlobalValue::ExternalLinkage, "test", M); |