From 0747466fca310eedea5fc49e37d54f240a0b3c0f Mon Sep 17 00:00:00 2001 From: Sebastien Hertz Date: Tue, 25 Aug 2015 15:12:33 +0000 Subject: Revert "Revert "Fix deoptimization with pending exception"" This reverts commit 6e2d5747d00697a25251d25dd33b953e54709507. Fixes the deoptimization path from compiled code (generated by the Optimizing compiler) by adding wrapper artDeoptimizeFromCompiledCode. This wrapper, called through the matching assembler stub art_quick_deoptimize_from_compiled_code, pushes the deoptimization context just before deoptimizing the stack. Bug: 23371176 Bug: 19944235 Change-Id: Ia7082656998aebdd0157438f7e6504c120e10d3e --- runtime/entrypoints/runtime_asm_entrypoints.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'runtime/entrypoints/runtime_asm_entrypoints.h') diff --git a/runtime/entrypoints/runtime_asm_entrypoints.h b/runtime/entrypoints/runtime_asm_entrypoints.h index 8209dc808e..2842c5a5a6 100644 --- a/runtime/entrypoints/runtime_asm_entrypoints.h +++ b/runtime/entrypoints/runtime_asm_entrypoints.h @@ -70,7 +70,8 @@ static inline const void* GetQuickInstrumentationEntryPoint() { return reinterpret_cast(art_quick_instrumentation_entry); } -extern "C" void art_quick_deoptimize_from_compiled_slow_path(); +// Stub to deoptimize from compiled code. +extern "C" void art_quick_deoptimize_from_compiled_code(); // The return_pc of instrumentation exit stub. extern "C" void art_quick_instrumentation_exit(); -- cgit v1.2.3-59-g8ed1b