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
Loading
Please sign in to comment