From 88d81e035cc385f082452a5b7029a48e9c038cf4 Mon Sep 17 00:00:00 2001
From: Nicolas Geoffray <ngeoffray@google.com>
Date: Sun, 7 Aug 2022 14:48:09 +0100
Subject: Add isInitializing check in nterp header.

This simplifies Instrumentation::GetCodeForInvoke and will be consistent
with the code we generate for AOT in:
https://android-review.googlesource.com/c/platform/art/+/2163021

Bug: 162110941
Test: test.py
Change-Id: Ic4d7747c7729df1281a2ab309589005c41542a31
---
 tools/cpp-define-generator/thread.def | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'tools/cpp-define-generator/thread.def')

diff --git a/tools/cpp-define-generator/thread.def b/tools/cpp-define-generator/thread.def
index d796542a32..97033fcaf2 100644
--- a/tools/cpp-define-generator/thread.def
+++ b/tools/cpp-define-generator/thread.def
@@ -71,3 +71,5 @@ ASM_DEFINE(THREAD_READ_BARRIER_MARK_REG00_OFFSET,
            art::Thread::ReadBarrierMarkEntryPointsOffset<art::kRuntimePointerSize>(0))
 ASM_DEFINE(THREAD_SHARED_METHOD_HOTNESS_OFFSET,
            art::Thread::SharedMethodHotnessOffset<art::kRuntimePointerSize>().Int32Value())
+ASM_DEFINE(THREAD_TID_OFFSET,
+           art::Thread::TidOffset<art::kRuntimePointerSize>().Int32Value())
-- 
cgit v1.2.3-59-g8ed1b

