diff options
| author | 2017-04-12 13:43:15 -0700 | |
|---|---|---|
| committer | 2017-08-07 11:49:38 -0700 | |
| commit | 0a87a653a296854c9a0abacd9bb1557ee4c4d05d (patch) | |
| tree | 4763469d136f3879bbce93521827717dbe05bd5b /compiler/optimizing/optimizing_compiler.cc | |
| parent | 52a3c989f96984f9bc9e02620694fc44708a1df2 (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/optimizing_compiler.cc')
0 files changed, 0 insertions, 0 deletions