summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorMingyao Yang <mingyao@google.com>2017-04-12 13:43:15 -0700
committerMingyao Yang <mingyao@google.com>2017-08-07 11:49:38 -0700
commit0a87a653a296854c9a0abacd9bb1557ee4c4d05d (patch)
tree4763469d136f3879bbce93521827717dbe05bd5b /compiler/optimizing/graph_visualizer.cc
parent52a3c989f96984f9bc9e02620694fc44708a1df2 (diff)
Add two special runtime methods.
This is in preparation for being able to deoptimize upon returning from a runtime method. We need to identify two special runtime methods: clinit and suspend-check since if deoptimization happens when returning from these two methods, we need to execute the dex instruction that corresponds to the dex pc of the deoptimization point. A clinit can be implicit for an invoke-static, in which case the invocation hasn't happen yet so we have to execute the invoke-static in the interpreter. For a suspend-check, the dex instruction for it hasn't been executed yet. Test: full run-test/gtest on both host and target. Bug: 33616143 Change-Id: Id1bdfcfa84a9ca27d5ee9da4b4a99467b1a4a845
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions