diff options
Diffstat (limited to 'runtime/interpreter/interpreter.h')
| -rw-r--r-- | runtime/interpreter/interpreter.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/runtime/interpreter/interpreter.h b/runtime/interpreter/interpreter.h index 65cfade09a..df8568edcd 100644 --- a/runtime/interpreter/interpreter.h +++ b/runtime/interpreter/interpreter.h @@ -30,6 +30,7 @@ class ArtMethod; union JValue; class ShadowFrame; class Thread; +enum class DeoptimizationMethodType; namespace interpreter { @@ -44,8 +45,11 @@ extern void EnterInterpreterFromInvoke(Thread* self, ArtMethod* method, REQUIRES_SHARED(Locks::mutator_lock_); // 'from_code' denotes whether the deoptimization was explicitly triggered by compiled code. -extern void EnterInterpreterFromDeoptimize(Thread* self, ShadowFrame* shadow_frame, bool from_code, - JValue* ret_val) +extern void EnterInterpreterFromDeoptimize(Thread* self, + ShadowFrame* shadow_frame, + JValue* ret_val, + bool from_code, + DeoptimizationMethodType method_type) REQUIRES_SHARED(Locks::mutator_lock_); extern JValue EnterInterpreterFromEntryPoint(Thread* self, const DexFile::CodeItem* code_item, |