summaryrefslogtreecommitdiffstats
path: root/runtime/entrypoints
diff options
context:
space:
mode:
authorSebastien Hertz <shertz@google.com>2014-04-29 07:25:00 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-04-29 07:25:00 +0000
commitdeeb21bbe114193477755074a1e31595abafd5c2 (patch)
tree631e3ec8591392057b4bf831e28487b39f8e0d20 /runtime/entrypoints
parentcb905718826da268d8d8e09296806256f202c9f4 (diff)
parent714f175bd66d03225927a84f3d5dbc923c5a3e7e (diff)
downloadart-deeb21bbe114193477755074a1e31595abafd5c2.zip
art-deeb21bbe114193477755074a1e31595abafd5c2.tar.gz
art-deeb21bbe114193477755074a1e31595abafd5c2.tar.bz2
Merge "Visit deoptimized shadow frames as roots"
Diffstat (limited to 'runtime/entrypoints')
-rw-r--r--runtime/entrypoints/portable/portable_thread_entrypoints.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/entrypoints/portable/portable_thread_entrypoints.cc b/runtime/entrypoints/portable/portable_thread_entrypoints.cc
index 4f19964..9e62e0e 100644
--- a/runtime/entrypoints/portable/portable_thread_entrypoints.cc
+++ b/runtime/entrypoints/portable/portable_thread_entrypoints.cc
@@ -78,7 +78,7 @@ extern "C" void art_portable_test_suspend_from_code(Thread* self)
visitor.WalkStack(true);
self->SetDeoptimizationShadowFrame(visitor.GetShadowFrameCopy());
self->SetDeoptimizationReturnValue(JValue());
- self->SetException(ThrowLocation(), reinterpret_cast<mirror::Throwable*>(-1));
+ self->SetException(ThrowLocation(), Thread::GetDeoptimizationException());
}
}