diff options
author | Nicolas Geoffray <ngeoffray@google.com> | 2015-09-17 15:22:56 +0100 |
---|---|---|
committer | Nicolas Geoffray <ngeoffray@google.com> | 2015-12-04 12:08:02 +0000 |
commit | 73be1e8f8609708f6624bb297c9628de44fd8b6f (patch) | |
tree | 47a22745797a345dea8dd846aad00334da0d5bf1 /runtime/thread.h | |
parent | 47229aa5848df7d45578dbdd9285f57dfa9399a8 (diff) | |
download | art-73be1e8f8609708f6624bb297c9628de44fd8b6f.tar.gz art-73be1e8f8609708f6624bb297c9628de44fd8b6f.tar.bz2 art-73be1e8f8609708f6624bb297c9628de44fd8b6f.zip |
Inline monomorphic calls.
Change-Id: If38171c2dc7d4a4378df5d050afc4fff4499c98f
Diffstat (limited to 'runtime/thread.h')
-rw-r--r-- | runtime/thread.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/runtime/thread.h b/runtime/thread.h index 4624f27564..3abb3cf360 100644 --- a/runtime/thread.h +++ b/runtime/thread.h @@ -849,10 +849,14 @@ class Thread { // and execute Java code, so there might be nested deoptimizations happening. // We need to save the ongoing deoptimization shadow frames and return // values on stacks. - void PushDeoptimizationContext(const JValue& return_value, bool is_reference, + // 'from_code' denotes whether the deoptimization was explicitly made from + // compiled code. + void PushDeoptimizationContext(const JValue& return_value, + bool is_reference, + bool from_code, mirror::Throwable* exception) SHARED_REQUIRES(Locks::mutator_lock_); - void PopDeoptimizationContext(JValue* result, mirror::Throwable** exception) + void PopDeoptimizationContext(JValue* result, mirror::Throwable** exception, bool* from_code) SHARED_REQUIRES(Locks::mutator_lock_); void AssertHasDeoptimizationContext() SHARED_REQUIRES(Locks::mutator_lock_); |