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

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

Issue 10905211: Clean up operator names. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 2 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: dart/lib/compiler/implementation/ssa/builder.dart
diff --git a/dart/lib/compiler/implementation/ssa/builder.dart b/dart/lib/compiler/implementation/ssa/builder.dart
index 7c573d4f7fe949aefa1e037c25ec652f71944307..9e640a5fa1d73495e3603c8a4827e9eee35758d5 100644
--- a/dart/lib/compiler/implementation/ssa/builder.dart
+++ b/dart/lib/compiler/implementation/ssa/builder.dart
@@ -2573,8 +2573,8 @@ class SsaBuilder extends ResolvedVisitor implements Visitor {
}
addGenericSendArgumentsToList(node.arguments, inputs);
String name = backend.namer.publicInstanceMethodNameByArity(
- Elements.OPERATOR_EQUALS, 1);
- push(new HForeign(new DartString.literal('!!#.$name'),
+ const SourceString('=='), 1);
floitsch 2012/10/17 12:13:47 No need to change, but ok.
ahe 2012/11/12 13:22:09 I removed the field, so I do need to change it.
+ push(new HForeign(new DartString.literal("!!#['$name']"),
const LiteralDartString('bool'),
inputs));
}

Powered by Google App Engine
This is Rietveld 408576698