summaryrefslogtreecommitdiffstats
path: root/runtime/thread.h
diff options
context:
space:
mode:
authorNicolas Geoffray <ngeoffray@google.com>2015-09-17 15:22:56 +0100
committerNicolas Geoffray <ngeoffray@google.com>2015-12-04 12:08:02 +0000
commit73be1e8f8609708f6624bb297c9628de44fd8b6f (patch)
tree47a22745797a345dea8dd846aad00334da0d5bf1 /runtime/thread.h
parent47229aa5848df7d45578dbdd9285f57dfa9399a8 (diff)
downloadart-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.h8
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_);