diff options
author | 2021-01-19 10:35:54 +0000 | |
---|---|---|
committer | 2021-01-21 14:07:57 +0000 | |
commit | d5a8695394f8f6e8f9a66752441623dc31b97660 (patch) | |
tree | 591ac4892304365282a57262c91e1945ac94c6a9 /compiler/optimizing/sharpening.h | |
parent | 2fb37411e42455a00fdad90f0e612c3214e5bd1a (diff) |
Reland "Improve invokeinterface for nterp."
This reverts commit f1d06474baa2f7c00761db39099b89ddab71bbe4.
Bug: 177554973
Bug: 112676029
Test: test.py
Test: 815-invokeinterface-default
Test: enable text-to-speech on device, no crash
Reason for revert: Fixed issue with recursive default methods
Change-Id: I2fb9336adb6c4fc920f39aa19bfe7f0a92ce059a
Diffstat (limited to 'compiler/optimizing/sharpening.h')
-rw-r--r-- | compiler/optimizing/sharpening.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler/optimizing/sharpening.h b/compiler/optimizing/sharpening.h index f71d9b5056..975366918c 100644 --- a/compiler/optimizing/sharpening.h +++ b/compiler/optimizing/sharpening.h @@ -31,7 +31,10 @@ class HSharpening { public: // Used by the builder and InstructionSimplifier. static HInvokeStaticOrDirect::DispatchInfo SharpenLoadMethod( - ArtMethod* callee, bool has_method_id, CodeGenerator* codegen); + ArtMethod* callee, + bool has_method_id, + bool for_interface_call, + CodeGenerator* codegen); // Used by the builder and the inliner. static HLoadClass::LoadKind ComputeLoadClassKind(HLoadClass* load_class, |