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

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

Issue 11885039: Fix selector name check, and make the interceptor participate in speculatively propagating types. (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/optimize.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/ssa/optimize.dart (revision 17051)
+++ sdk/lib/_internal/compiler/implementation/ssa/optimize.dart (working copy)
@@ -240,7 +240,7 @@
return new HIndexAssign(node.inputs[1], node.inputs[2], node.inputs[3]);
}
} else if (selector.kind == SelectorKind.OPERATOR) {
- if (selector.name == const SourceString('-')) {
+ if (selector.name == const SourceString('unary-')) {
if (input.isNumber(types)) {
return new HNegate(input);
}

Powered by Google App Engine
This is Rietveld 408576698