mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 02:33:33 +00:00
Oops. Re-disable JITTest.NoStubs on ARM and PPC since they still use stubs to
make far calls work. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89733 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9e763b88b0
commit
630382adc8
@ -457,6 +457,10 @@ TEST_F(JITTest, ModuleDeletion) {
|
|||||||
NumTablesDeallocated);
|
NumTablesDeallocated);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ARM and PPC still emit stubs for calls since the target may be too far away
|
||||||
|
// to call directly. This #if can probably be removed when
|
||||||
|
// http://llvm.org/PR5201 is fixed.
|
||||||
|
#if !defined(__arm__) && !defined(__powerpc__) && !defined(__ppc__)
|
||||||
typedef int (*FooPtr) ();
|
typedef int (*FooPtr) ();
|
||||||
|
|
||||||
TEST_F(JITTest, NoStubs) {
|
TEST_F(JITTest, NoStubs) {
|
||||||
@ -494,6 +498,7 @@ TEST_F(JITTest, NoStubs) {
|
|||||||
|
|
||||||
ASSERT_EQ(stubsBefore, RJMM->stubsAllocated);
|
ASSERT_EQ(stubsBefore, RJMM->stubsAllocated);
|
||||||
}
|
}
|
||||||
|
#endif // !ARM && !PPC
|
||||||
|
|
||||||
TEST_F(JITTest, FunctionPointersOutliveTheirCreator) {
|
TEST_F(JITTest, FunctionPointersOutliveTheirCreator) {
|
||||||
TheJIT->DisableLazyCompilation(true);
|
TheJIT->DisableLazyCompilation(true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user