From bdb2ecc8cfd0d6fc2f3f4fa4c65cca84b358cd61 Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Tue, 18 Sep 2018 14:33:55 +0100 Subject: Remove sharpening as an optimization pass. Make the last sharpening helper (methods) like the other helpers: being invoked by the instruction builder. Test: test.py Change-Id: Ic80a454f9b59b0b4ef7825590b24402500ba851c --- compiler/optimizing/code_generator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/optimizing/code_generator.h') diff --git a/compiler/optimizing/code_generator.h b/compiler/optimizing/code_generator.h index e77d621b58..2ca15f7fed 100644 --- a/compiler/optimizing/code_generator.h +++ b/compiler/optimizing/code_generator.h @@ -622,7 +622,7 @@ class CodeGenerator : public DeletableArenaObject { // otherwise return a fall-back info that should be used instead. virtual HInvokeStaticOrDirect::DispatchInfo GetSupportedInvokeStaticOrDirectDispatch( const HInvokeStaticOrDirect::DispatchInfo& desired_dispatch_info, - HInvokeStaticOrDirect* invoke) = 0; + ArtMethod* method) = 0; // Generate a call to a static or direct method. virtual void GenerateStaticOrDirectCall( -- cgit v1.2.3-59-g8ed1b