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

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

Issue 10905211: Clean up operator names. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments Created 8 years, 1 month 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: dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart b/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
index afd2a0bbaac0ac509423f8ccc5c64c0452250ae5..2634e15e28d360a7570f5dd5ebd45862367ad9e7 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
@@ -2715,7 +2715,7 @@ class SsaBuilder extends ResolvedVisitor implements Visitor {
}
addGenericSendArgumentsToList(node.arguments, inputs);
String name = backend.namer.publicInstanceMethodNameByArity(
- Elements.OPERATOR_EQUALS, 1);
+ const SourceString('=='), 1);
push(new HForeign(new DartString.literal('!!#.$name'),
const LiteralDartString('bool'),
inputs));

Powered by Google App Engine
This is Rietveld 408576698