diff options
Diffstat (limited to 'runtime/arch/mips/thread_mips.cc')
-rw-r--r-- | runtime/arch/mips/thread_mips.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/runtime/arch/mips/thread_mips.cc b/runtime/arch/mips/thread_mips.cc index a451496bd7..06d6211c88 100644 --- a/runtime/arch/mips/thread_mips.cc +++ b/runtime/arch/mips/thread_mips.cc @@ -17,14 +17,15 @@ #include "thread.h" #include "asm_support_mips.h" +#include "base/enums.h" #include "base/logging.h" namespace art { void Thread::InitCpu() { - CHECK_EQ(THREAD_FLAGS_OFFSET, ThreadFlagsOffset<4>().Int32Value()); - CHECK_EQ(THREAD_CARD_TABLE_OFFSET, CardTableOffset<4>().Int32Value()); - CHECK_EQ(THREAD_EXCEPTION_OFFSET, ExceptionOffset<4>().Int32Value()); + CHECK_EQ(THREAD_FLAGS_OFFSET, ThreadFlagsOffset<PointerSize::k32>().Int32Value()); + CHECK_EQ(THREAD_CARD_TABLE_OFFSET, CardTableOffset<PointerSize::k32>().Int32Value()); + CHECK_EQ(THREAD_EXCEPTION_OFFSET, ExceptionOffset<PointerSize::k64>().Int32Value()); } void Thread::CleanupCpu() { |