EXPECT_EQ(42, func()) << "func should return 42 from the static version,"
<< " not 7 from the IR version.";
}
-#endif // !defined(__arm__)
TEST_F(JITTest, EscapedLazyStubStillCallable) {
TheJIT->DisableLazyCompilation(false);
<< " not 7 from the IR version.";
}
-// ARM tests disabled pending fix for PR10783.
-#if !defined(__arm__)
TEST(LazyLoadedJITTest, EagerCompiledRecursionThroughGhost) {
LLVMContext Context;
const std::string Bitcode =
FooF2 = M2->getFunction("foo2");
}
+// ARM tests disabled pending fix for PR10783.
+#if !defined(__arm__)
+
TEST(MultiJitTest, EagerMode) {
LLVMContext Context1;
Module *M1 = 0;
EXPECT_EQ((intptr_t)getPointerToNamedFunction("getPointerToNamedFunction"),
(intptr_t)&getPointerToNamedFunction);
}
+#endif // !defined(__arm__)
} // anonymous namespace