diff options
Diffstat (limited to 'tools/cpp-define-generator/thread.def')
-rw-r--r-- | tools/cpp-define-generator/thread.def | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/cpp-define-generator/thread.def b/tools/cpp-define-generator/thread.def index 07ca8841f8..ec8e28b977 100644 --- a/tools/cpp-define-generator/thread.def +++ b/tools/cpp-define-generator/thread.def @@ -30,12 +30,11 @@ ASM_DEFINE(THREAD_ID_OFFSET, ASM_DEFINE(THREAD_INTERPRETER_CACHE_OFFSET, art::Thread::InterpreterCacheOffset<art::kRuntimePointerSize>().Int32Value()) ASM_DEFINE(THREAD_INTERPRETER_CACHE_SIZE_LOG2, - art::WhichPowerOf2(art::InterpreterCache::kThreadLocalSize)) + art::Thread::InterpreterCacheSizeLog2()) ASM_DEFINE(THREAD_INTERPRETER_CACHE_SIZE_MASK, - (sizeof(art::InterpreterCache::Entry) * (art::InterpreterCache::kThreadLocalSize - 1))) + (sizeof(art::InterpreterCache::Entry) * (art::InterpreterCache::kSize - 1))) ASM_DEFINE(THREAD_INTERPRETER_CACHE_SIZE_SHIFT, - (art::WhichPowerOf2(sizeof(art::InterpreterCache::Entry)) - - art::InterpreterCache::kHashShift)) + 2) ASM_DEFINE(THREAD_IS_GC_MARKING_OFFSET, art::Thread::IsGcMarkingOffset<art::kRuntimePointerSize>().Int32Value()) ASM_DEFINE(THREAD_LOCAL_ALLOC_STACK_END_OFFSET, |