summaryrefslogtreecommitdiffstats
path: root/runtime/entrypoints_order_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/entrypoints_order_test.cc')
-rw-r--r--runtime/entrypoints_order_test.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/entrypoints_order_test.cc b/runtime/entrypoints_order_test.cc
index a3014b3..305e5a2 100644
--- a/runtime/entrypoints_order_test.cc
+++ b/runtime/entrypoints_order_test.cc
@@ -15,6 +15,7 @@
*/
#include <memory>
+#include <setjmp.h>
#include "base/macros.h"
#include "common_runtime_test.h"
@@ -130,7 +131,7 @@ class EntrypointsOrderTest : public CommonRuntimeTest {
kPointerSize);
EXPECT_OFFSET_DIFFP(Thread, tlsPtr_, thread_local_alloc_stack_end, held_mutexes, kPointerSize);
EXPECT_OFFSET_DIFF(Thread, tlsPtr_.held_mutexes, Thread, wait_mutex_,
- kPointerSize * kLockLevelCount, thread_tlsptr_end);
+ kPointerSize * kLockLevelCount + kPointerSize, thread_tlsptr_end);
}
void CheckInterpreterEntryPoints() {