diff options
Diffstat (limited to 'runtime/interpreter/interpreter.h')
-rw-r--r-- | runtime/interpreter/interpreter.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/interpreter/interpreter.h b/runtime/interpreter/interpreter.h index 38ce851e8e..65cfade09a 100644 --- a/runtime/interpreter/interpreter.h +++ b/runtime/interpreter/interpreter.h @@ -19,6 +19,7 @@ #include "base/mutex.h" #include "dex_file.h" +#include "obj_ptr.h" namespace art { namespace mirror { @@ -36,7 +37,9 @@ namespace interpreter { // The optional stay_in_interpreter parameter (false by default) can be used by clients to // explicitly force interpretation in the remaining path that implements method invocation. extern void EnterInterpreterFromInvoke(Thread* self, ArtMethod* method, - mirror::Object* receiver, uint32_t* args, JValue* result, + ObjPtr<mirror::Object> receiver, + uint32_t* args, + JValue* result, bool stay_in_interpreter = false) REQUIRES_SHARED(Locks::mutator_lock_); |