mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-21 02:24:22 +00:00
Minor changes to the MCJITTest unittests to use the correct API for finalizing
the JIT object (including XFAIL an ARM test that now needs fixing). Also renames internal function for consistency. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182085 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -101,11 +101,10 @@ protected:
|
||||
ASSERT_TRUE(TheJIT.isValid());
|
||||
ASSERT_TRUE(0 != Main);
|
||||
|
||||
// We may be using a null cache, so ensure compilation is valid.
|
||||
TheJIT->finalizeObject();
|
||||
void *vPtr = TheJIT->getPointerToFunction(Main);
|
||||
|
||||
static_cast<SectionMemoryManager*>(MM)->invalidateInstructionCache();
|
||||
|
||||
EXPECT_TRUE(0 != vPtr)
|
||||
<< "Unable to get pointer to main() from JIT";
|
||||
|
||||
|
Reference in New Issue
Block a user