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

Unified Diff: sdk/lib/_internal/compiler/implementation/ssa/codegen_helpers.dart

Issue 12042003: Move relational operators to the new interceptors. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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
Index: sdk/lib/_internal/compiler/implementation/ssa/codegen_helpers.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/ssa/codegen_helpers.dart (revision 17334)
+++ sdk/lib/_internal/compiler/implementation/ssa/codegen_helpers.dart (working copy)
@@ -66,19 +66,6 @@
// they would not be alive.
void visitTypeGuard(HTypeGuard instruction) {}
- // If an equality operation is builtin it must only have its inputs generated
- // at use site if it does not require an expression with repeated uses
- // (because of null / undefined).
- void visitEquals(HEquals instruction) {
- HInstruction left = instruction.left;
- HInstruction right = instruction.right;
- if (!instruction.isBuiltin(types) ||
- singleIdentityComparison(left, right, types) != null) {
- super.visitEquals(instruction);
- }
- // Do nothing.
- }
-
// An identity operation must only have its inputs generated at use site if
// does not require an expression with multiple uses (because of null /
// undefined).

Powered by Google App Engine
This is Rietveld 408576698