Use vdex's quickening info when decoding a quickened instruction.
bug: 74521989
Test: test.py, 678-quickening
Change-Id: I3a85cc6014afcf11889941dcd15b90d4296b8408
diff --git a/runtime/art_method.h b/runtime/art_method.h
index bd9b64d..64d2932 100644
--- a/runtime/art_method.h
+++ b/runtime/art_method.h
@@ -683,6 +683,7 @@
}
ArrayRef<const uint8_t> GetQuickenedInfo() REQUIRES_SHARED(Locks::mutator_lock_);
+ uint16_t GetIndexFromQuickening(uint32_t dex_pc) REQUIRES_SHARED(Locks::mutator_lock_);
// Returns the method header for the compiled code containing 'pc'. Note that runtime
// methods will return null for this method, as they are not oat based.