summaryrefslogtreecommitdiff
path: root/runtime/interpreter/interpreter_common.h
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2017-05-26 21:47:30 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2017-05-26 21:47:32 +0000
commit0a5ace58e973da278049f837bf2cdbaf7b44849c (patch)
tree3ef8f5c2d148c7d4d30696cf3a618984546398b9 /runtime/interpreter/interpreter_common.h
parentd8b6461dfda391284e4b6942df0e872a3da24ce9 (diff)
parent5ea8413714ceec50a758df6614dc4a3ec6179112 (diff)
Merge "Stop interpreter from accessing code items of compiled code."
Diffstat (limited to 'runtime/interpreter/interpreter_common.h')
-rw-r--r--runtime/interpreter/interpreter_common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/interpreter/interpreter_common.h b/runtime/interpreter/interpreter_common.h
index fdc0505e7f..38edc7a9e7 100644
--- a/runtime/interpreter/interpreter_common.h
+++ b/runtime/interpreter/interpreter_common.h
@@ -527,10 +527,11 @@ static inline void AssignRegister(ShadowFrame* new_shadow_frame, const ShadowFra
}
}
+// The arg_offset is the offset to the first input register in the frame.
void ArtInterpreterToCompiledCodeBridge(Thread* self,
ArtMethod* caller,
- const DexFile::CodeItem* code_item,
ShadowFrame* shadow_frame,
+ uint16_t arg_offset,
JValue* result);
// Set string value created from StringFactory.newStringFromXXX() into all aliases of