From e81f10a3f672a8bcc421cab812e6435749181566 Mon Sep 17 00:00:00 2001
From: David Srbecky <dsrbecky@google.com>
Date: Thu, 4 Jul 2019 10:00:12 +0000
Subject: Revert "Remove ShadowFrame::dex_pc_ (but keep dex_pc_ptr_)"

This reverts commit 50bc8fb89c79874e731f245abda3b9e48a541cfe.

Reason for revert: Performance regression

Change-Id: Ib39ceb9e1f2753c518dd24fd193a824211fd5795
---
 tools/cpp-define-generator/shadow_frame.def | 4 ++++
 1 file changed, 4 insertions(+)

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

diff --git a/tools/cpp-define-generator/shadow_frame.def b/tools/cpp-define-generator/shadow_frame.def
index 5bf3befea0..10a309cbdb 100644
--- a/tools/cpp-define-generator/shadow_frame.def
+++ b/tools/cpp-define-generator/shadow_frame.def
@@ -20,6 +20,10 @@
 
 ASM_DEFINE(SHADOWFRAME_CACHED_HOTNESS_COUNTDOWN_OFFSET,
            art::ShadowFrame::CachedHotnessCountdownOffset())
+ASM_DEFINE(SHADOWFRAME_DEX_INSTRUCTIONS_OFFSET,
+           art::ShadowFrame::DexInstructionsOffset())
+ASM_DEFINE(SHADOWFRAME_DEX_PC_OFFSET,
+           art::ShadowFrame::DexPCOffset())
 ASM_DEFINE(SHADOWFRAME_DEX_PC_PTR_OFFSET,
            art::ShadowFrame::DexPCPtrOffset())
 ASM_DEFINE(SHADOWFRAME_HOTNESS_COUNTDOWN_OFFSET,
-- 
cgit v1.2.3-59-g8ed1b

