diff options
Diffstat (limited to 'runtime/thread.h')
| -rw-r--r-- | runtime/thread.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/thread.h b/runtime/thread.h index d25bbe997d..e5e4caefce 100644 --- a/runtime/thread.h +++ b/runtime/thread.h @@ -686,6 +686,11 @@ class Thread { return tlsPtr_.single_step_control; } + // Returns the fake exception used to activate deoptimization. + static mirror::Throwable* GetDeoptimizationException() { + return reinterpret_cast<mirror::Throwable*>(-1); + } + void SetDeoptimizationShadowFrame(ShadowFrame* sf); void SetDeoptimizationReturnValue(const JValue& ret_val); |