@@ -361,7 +361,7 @@ class IndexSpecializer extends InvokeDynamicSpecializer {
361361 JClosedWorld closedWorld,
362362 OptimizationTestLog ? log,
363363 ) {
364- HInstruction receiver = instruction.getDartReceiver (closedWorld );
364+ HInstruction receiver = instruction.getDartReceiver ();
365365 var abstractValueDomain = closedWorld.abstractValueDomain;
366366 if (receiver.isIndexablePrimitive (abstractValueDomain).isPotentiallyFalse) {
367367 return null ;
@@ -419,7 +419,7 @@ class CodeUnitAtSpecializer extends InvokeDynamicSpecializer {
419419 OptimizationTestLog ? log,
420420 ) {
421421 final abstractValueDomain = closedWorld.abstractValueDomain;
422- HInstruction receiver = instruction.getDartReceiver (closedWorld );
422+ HInstruction receiver = instruction.getDartReceiver ();
423423 if (receiver.isStringOrNull (abstractValueDomain).isPotentiallyFalse) {
424424 return null ;
425425 }
@@ -460,7 +460,7 @@ class RemoveLastSpecializer extends InvokeDynamicSpecializer {
460460 JClosedWorld closedWorld,
461461 OptimizationTestLog ? log,
462462 ) {
463- HInstruction receiver = instruction.getDartReceiver (closedWorld );
463+ HInstruction receiver = instruction.getDartReceiver ();
464464 final abstractValueDomain = closedWorld.abstractValueDomain;
465465 if (receiver.isGrowableArray (abstractValueDomain).isPotentiallyFalse) {
466466 return null ;
@@ -876,7 +876,7 @@ class ModuloSpecializer extends BinaryArithmeticSpecializer {
876876 // track -0.0 precisely, we have to syntactically filter inputs that cannot
877877 // generate -0.0.
878878
879- HInstruction receiver = instruction.getDartReceiver (closedWorld );
879+ HInstruction receiver = instruction.getDartReceiver ();
880880 if (inputsArePositiveIntegers (instruction, closedWorld) &&
881881 ! canBeNegativeZero (receiver)) {
882882 return HRemainder (
@@ -1840,7 +1840,7 @@ class CompareToSpecializer extends InvokeDynamicSpecializer {
18401840 JClosedWorld closedWorld,
18411841 OptimizationTestLog ? log,
18421842 ) {
1843- HInstruction receiver = instruction.getDartReceiver (closedWorld );
1843+ HInstruction receiver = instruction.getDartReceiver ();
18441844 // `compareTo` has no side-effect (other than throwing) and can be GVN'ed
18451845 // for some known types.
18461846 if (receiver
@@ -1890,7 +1890,7 @@ abstract class IdempotentStringOperationSpecializer
18901890 JClosedWorld closedWorld,
18911891 OptimizationTestLog ? log,
18921892 ) {
1893- HInstruction receiver = instruction.getDartReceiver (closedWorld );
1893+ HInstruction receiver = instruction.getDartReceiver ();
18941894 if (receiver
18951895 .isStringOrNull (closedWorld.abstractValueDomain)
18961896 .isDefinitelyTrue) {
@@ -1937,7 +1937,7 @@ class PatternMatchSpecializer extends InvokeDynamicSpecializer {
19371937 JClosedWorld closedWorld,
19381938 OptimizationTestLog ? log,
19391939 ) {
1940- HInstruction receiver = instruction.getDartReceiver (closedWorld );
1940+ HInstruction receiver = instruction.getDartReceiver ();
19411941 HInstruction pattern = instruction.inputs[2 ];
19421942 if (receiver
19431943 .isStringOrNull (closedWorld.abstractValueDomain)
@@ -1969,7 +1969,7 @@ class RoundSpecializer extends InvokeDynamicSpecializer {
19691969 JClosedWorld closedWorld,
19701970 OptimizationTestLog ? log,
19711971 ) {
1972- HInstruction receiver = instruction.getDartReceiver (closedWorld );
1972+ HInstruction receiver = instruction.getDartReceiver ();
19731973 if (receiver
19741974 .isNumberOrNull (closedWorld.abstractValueDomain)
19751975 .isDefinitelyTrue) {
@@ -1997,7 +1997,7 @@ class ToIntSpecializer extends InvokeDynamicSpecializer {
19971997 JClosedWorld closedWorld,
19981998 OptimizationTestLog ? log,
19991999 ) {
2000- HInstruction receiver = instruction.getDartReceiver (closedWorld );
2000+ HInstruction receiver = instruction.getDartReceiver ();
20012001
20022002 // We would like to reduce `x.toInt()` to `x`. The web platform considers
20032003 // infinities to be `int` values, but it is too hard to tell if an input is
0 commit comments