Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(289)

Unified Diff: pkg/compiler/lib/src/ssa/optimize.dart

Issue 2739953002: dart2js: num.compareTo is pure, and a.compareTo(a) is zero (Closed)
Patch Set: Fix merge error Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/ssa/invoke_dynamic_specializers.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/ssa/optimize.dart
diff --git a/pkg/compiler/lib/src/ssa/optimize.dart b/pkg/compiler/lib/src/ssa/optimize.dart
index c4eb3f28f0a93d2dfe5dae43b2579ba52d5174a2..f411f578eec6a96c57f13791cc128b94f95b8916 100644
--- a/pkg/compiler/lib/src/ssa/optimize.dart
+++ b/pkg/compiler/lib/src/ssa/optimize.dart
@@ -402,8 +402,8 @@ class SsaInstructionSimplifier extends HBaseVisitor
}
// Try converting the instruction to a builtin instruction.
- HInstruction instruction = node.specializer.tryConvertToBuiltin(
- node, _globalInferenceResults, _options, _helpers, _closedWorld);
+ HInstruction instruction = node.specializer.tryConvertToBuiltin(node,
+ _graph, _globalInferenceResults, _options, _helpers, _closedWorld);
if (instruction != null) return instruction;
Selector selector = node.selector;
@@ -1166,7 +1166,8 @@ class SsaInstructionSimplifier extends HBaseVisitor
selector,
input.instructionType, // receiver mask.
inputs,
- toStringType)..sourceInformation = node.sourceInformation;
+ toStringType)
+ ..sourceInformation = node.sourceInformation;
return result;
}
return null;
« no previous file with comments | « pkg/compiler/lib/src/ssa/invoke_dynamic_specializers.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698