summaryrefslogtreecommitdiff
path: root/runtime/interpreter/interpreter_switch_impl-inl.h
diff options
context:
space:
mode:
author David Srbecky <dsrbecky@google.com> 2019-07-04 10:00:12 +0000
committer Treehugger Robot <treehugger-gerrit@google.com> 2019-07-05 00:20:19 +0000
commite81f10a3f672a8bcc421cab812e6435749181566 (patch)
tree076df5318e4bfdb6148fd6bb0faf5ea8de1d3336 /runtime/interpreter/interpreter_switch_impl-inl.h
parent9690542a9ed7740110459d3167708e6edc1a2686 (diff)
Revert "Remove ShadowFrame::dex_pc_ (but keep dex_pc_ptr_)"
This reverts commit 50bc8fb89c79874e731f245abda3b9e48a541cfe. Reason for revert: Performance regression Change-Id: Ib39ceb9e1f2753c518dd24fd193a824211fd5795
Diffstat (limited to 'runtime/interpreter/interpreter_switch_impl-inl.h')
-rw-r--r--runtime/interpreter/interpreter_switch_impl-inl.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/runtime/interpreter/interpreter_switch_impl-inl.h b/runtime/interpreter/interpreter_switch_impl-inl.h
index d22771dea8..fc3005d72c 100644
--- a/runtime/interpreter/interpreter_switch_impl-inl.h
+++ b/runtime/interpreter/interpreter_switch_impl-inl.h
@@ -1917,7 +1917,6 @@ ATTRIBUTE_NO_SANITIZE_ADDRESS void ExecuteSwitchImplCpp(SwitchImplContext* ctx)
self->VerifyStack();
uint32_t dex_pc = shadow_frame.GetDexPC();
- DCHECK_LT(dex_pc, shadow_frame.GetMethod()->DexInstructionData().InsnsSizeInCodeUnits());
const auto* const instrumentation = Runtime::Current()->GetInstrumentation();
const uint16_t* const insns = accessor.Insns();
const Instruction* next = Instruction::At(insns + dex_pc);