diff options
author | Jeff Hao <jeffhao@google.com> | 2013-05-22 15:02:08 -0700 |
---|---|---|
committer | Jeff Hao <jeffhao@google.com> | 2013-05-23 10:17:09 -0700 |
commit | 790ad90ccd2f3e297e2cf0a47adbf4f9ffb10149 (patch) | |
tree | 719a141f77194d4eeab03bfb1e7385799e001263 /src/interpreter/interpreter.h | |
parent | ca6ad221d1bd857e26817f6b63d4ad9f3fe7ca40 (diff) | |
download | art-790ad90ccd2f3e297e2cf0a47adbf4f9ffb10149.zip art-790ad90ccd2f3e297e2cf0a47adbf4f9ffb10149.tar.gz art-790ad90ccd2f3e297e2cf0a47adbf4f9ffb10149.tar.bz2 |
Some more interpreter cleanup.
- Pass method helper and code item to entry point so they don't
have to be regenerated.
- Removed interpreter only check from invoke, changing entry
points instead.
Change-Id: Ib0ea83dcffcdb295d3a48d92ad8a93ac59f9932e
Diffstat (limited to 'src/interpreter/interpreter.h')
-rw-r--r-- | src/interpreter/interpreter.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/interpreter/interpreter.h b/src/interpreter/interpreter.h index 96fa050..bae3b65 100644 --- a/src/interpreter/interpreter.h +++ b/src/interpreter/interpreter.h @@ -47,7 +47,9 @@ extern JValue EnterInterpreterFromStub(Thread* self, MethodHelper& mh, ShadowFrame& shadow_frame) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); -extern void EnterInterpreterFromInterpreter(Thread* self, ShadowFrame* shadow_frame, JValue* result) +extern void EnterInterpreterFromInterpreter(Thread* self, MethodHelper& mh, + const DexFile::CodeItem* code_item, + ShadowFrame* shadow_frame, JValue* result) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); } // namespace interpreter |