summaryrefslogtreecommitdiff
path: root/runtime/interpreter/interpreter_switch_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/interpreter/interpreter_switch_impl.h')
-rw-r--r--runtime/interpreter/interpreter_switch_impl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/interpreter/interpreter_switch_impl.h b/runtime/interpreter/interpreter_switch_impl.h
index 267df2e219..aa0f854bb7 100644
--- a/runtime/interpreter/interpreter_switch_impl.h
+++ b/runtime/interpreter/interpreter_switch_impl.h
@@ -25,6 +25,7 @@
namespace art {
+class CodeItemDataAccessor;
class ShadowFrame;
class Thread;
@@ -32,7 +33,7 @@ namespace interpreter {
template<bool do_access_check, bool transaction_active>
JValue ExecuteSwitchImpl(Thread* self,
- const DexFile::CodeItem* code_item,
+ const CodeItemDataAccessor& accessor,
ShadowFrame& shadow_frame,
JValue result_register,
bool interpret_one_instruction) REQUIRES_SHARED(Locks::mutator_lock_);