summaryrefslogtreecommitdiff
path: root/runtime/quick_exception_handler.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2022-01-17 17:12:38 +0000
committer Nicolas Geoffray <ngeoffray@google.com> 2022-01-24 10:15:09 +0000
commitc8a694ddbcda17fc90121d7e7985d90d3860a60c (patch)
tree729f5df88c74983f6cfca6a5d6761d093db7e747 /runtime/quick_exception_handler.cc
parentbed84ef16bd124293714b545be1c2d96c6a618b2 (diff)
Reland "Use InitializeMethodsCode when we need to reinitialize a method entrypoint."
This reverts commit b0f63c93e44bf53a34dda90c74b8725a932922da. Reason for revert: Fix For proxy init. Test: test.py Change-Id: I6b4796115d73a093f86309cec1f03cafd981c2e9
Diffstat (limited to 'runtime/quick_exception_handler.cc')
-rw-r--r--runtime/quick_exception_handler.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/quick_exception_handler.cc b/runtime/quick_exception_handler.cc
index ac5065b2a6..c3722484ca 100644
--- a/runtime/quick_exception_handler.cc
+++ b/runtime/quick_exception_handler.cc
@@ -606,9 +606,8 @@ void QuickExceptionHandler::DeoptimizeSingleFrame(DeoptimizationKind kind) {
Runtime::Current()->GetJit()->GetCodeCache()->InvalidateCompiledCodeFor(
deopt_method, visitor.GetSingleFrameDeoptQuickMethodHeader());
} else {
- // Transfer the code to interpreter.
- Runtime::Current()->GetInstrumentation()->UpdateMethodsCode(
- deopt_method, GetQuickToInterpreterBridge());
+ Runtime::Current()->GetInstrumentation()->InitializeMethodsCode(
+ deopt_method, /*aot_code=*/ nullptr);
}
PrepareForLongJumpToInvokeStubOrInterpreterBridge();