diff options
Diffstat (limited to 'src/vm/arm')
-rw-r--r-- | src/vm/arm/asmconstants.h | 4 | ||||
-rw-r--r-- | src/vm/arm/cgencpu.h | 6 | ||||
-rw-r--r-- | src/vm/arm/stubs.cpp | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/vm/arm/asmconstants.h b/src/vm/arm/asmconstants.h index 47ebb2d24d..93af04734e 100644 --- a/src/vm/arm/asmconstants.h +++ b/src/vm/arm/asmconstants.h @@ -225,10 +225,10 @@ ASMCONSTANTS_C_ASSERT(UnmanagedToManagedFrame__m_pvDatum == offsetof(UnmanagedTo #ifndef CROSSGEN_COMPILE #define Thread__m_alloc_context__alloc_limit 0x44 -ASMCONSTANTS_C_ASSERT(Thread__m_alloc_context__alloc_limit == offsetof(Thread, m_alloc_context) + offsetof(alloc_context, alloc_limit)); +ASMCONSTANTS_C_ASSERT(Thread__m_alloc_context__alloc_limit == offsetof(Thread, m_alloc_context) + offsetof(gc_alloc_context, alloc_limit)); #define Thread__m_alloc_context__alloc_ptr 0x40 -ASMCONSTANTS_C_ASSERT(Thread__m_alloc_context__alloc_ptr == offsetof(Thread, m_alloc_context) + offsetof(alloc_context, alloc_ptr)); +ASMCONSTANTS_C_ASSERT(Thread__m_alloc_context__alloc_ptr == offsetof(Thread, m_alloc_context) + offsetof(gc_alloc_context, alloc_ptr)); #endif // CROSSGEN_COMPILE #define Thread__m_fPreemptiveGCDisabled 0x08 diff --git a/src/vm/arm/cgencpu.h b/src/vm/arm/cgencpu.h index 936fdabafb..63c578bb88 100644 --- a/src/vm/arm/cgencpu.h +++ b/src/vm/arm/cgencpu.h @@ -36,10 +36,12 @@ Stub * GenerateInitPInvokeFrameHelper(); EXTERN_C void checkStack(void); +#define THUMB_CODE 1 + #ifdef CROSSGEN_COMPILE #define GetEEFuncEntryPoint(pfn) 0x1001 #else -#define GetEEFuncEntryPoint(pfn) GFN_TADDR(pfn) +#define GetEEFuncEntryPoint(pfn) (GFN_TADDR(pfn) | THUMB_CODE) #endif //********************************************************************** @@ -306,8 +308,6 @@ inline PCODE decodeBackToBackJump(PCODE pBuffer) #include "stublink.h" struct ArrayOpScript; -#define THUMB_CODE 1 - inline BOOL IsThumbCode(PCODE pCode) { return (pCode & THUMB_CODE) != 0; diff --git a/src/vm/arm/stubs.cpp b/src/vm/arm/stubs.cpp index 0b069da47e..1309695f73 100644 --- a/src/vm/arm/stubs.cpp +++ b/src/vm/arm/stubs.cpp @@ -2650,7 +2650,7 @@ void InitJITHelpers1() )) { - _ASSERTE(GCHeap::UseAllocationContexts()); + _ASSERTE(GCHeapUtilities::UseAllocationContexts()); // If the TLS for Thread is low enough use the super-fast helpers if (gThreadTLSIndex < TLS_MINIMUM_AVAILABLE) { |