summaryrefslogtreecommitdiff
path: root/compiler/utils/assembler.cc
diff options
context:
space:
mode:
author Mythri Alle <mythria@google.com> 2022-06-06 08:10:48 +0000
committer Mythri Alle <mythria@google.com> 2022-06-21 10:32:57 +0000
commit442371b9b2c52548acacaed6687ae2fa5d21c51e (patch)
treeb382a4710d757a0e46768bf003ea4d3eff4d4f27 /compiler/utils/assembler.cc
parentf62eb7f6d8188ce0f8ed7aa17fc8dd29c5855a5e (diff)
Skip method unwind callbacks if exception was thrown by method exit
When a method exit callback is called the method is still on the stack. This is required because we should allow the method being exited to be force popped and re-execute the caller frame. The way it is implemented currently requires the method that is being exited on the stack. However, method exit callbacks could also throw which triggers a stack unwind. We should not call method unwind events for methods that already called the method exit event. This CL makes sure method unwind events are not called when an exception is thrown from method exit callbacks. Currently, method entry / exit callbacks force interpreter entry points so this isn't a problem. This is in preperation for future CLs that change this. Change-Id: I6124898acf0c20b8c9944c0e1e5b9f23c5633b14
Diffstat (limited to 'compiler/utils/assembler.cc')
0 files changed, 0 insertions, 0 deletions