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

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

Issue 2645973003: dart2js: Move lowering of identical(a, b) from builder to optimizer (Closed)
Patch Set: format Created 3 years, 11 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 | « no previous file | pkg/compiler/lib/src/ssa/optimize.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/ssa/builder.dart
diff --git a/pkg/compiler/lib/src/ssa/builder.dart b/pkg/compiler/lib/src/ssa/builder.dart
index 3db52243d2c9f397f7fb24c8331f46a232b53fe8..824d774577855c7daaea1041ae672ce530beadf4 100644
--- a/pkg/compiler/lib/src/ssa/builder.dart
+++ b/pkg/compiler/lib/src/ssa/builder.dart
@@ -3623,16 +3623,9 @@ class SsaBuilder extends ast.Visitor
List<HInstruction> inputs = makeStaticArgumentList(
callStructure, node.arguments, function.implementation);
- if (function == compiler.commonElements.identicalFunction) {
- pushWithPosition(
- new HIdentity(inputs[0], inputs[1], null, commonMasks.boolType),
- node);
- return;
- } else {
- pushInvokeStatic(node, function, inputs,
- sourceInformation:
- sourceInformationBuilder.buildCall(node, node.selector));
- }
+ pushInvokeStatic(node, function, inputs,
+ sourceInformation:
+ sourceInformationBuilder.buildCall(node, node.selector));
}
/// Generate an invocation to a static or top level function with the wrong
« no previous file with comments | « no previous file | pkg/compiler/lib/src/ssa/optimize.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698