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

Unified Diff: lib/compiler/implementation/operations.dart

Issue 10356053: Prettify !(x rel-op y) into (x "!rel-op" y) when possible. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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: lib/compiler/implementation/operations.dart
diff --git a/lib/compiler/implementation/operations.dart b/lib/compiler/implementation/operations.dart
index 4b85e881042379e109c50fe8fe10e432c999927f..3e2d8fb22e45c148b06e1a8e756d0c6b76b6920b 100644
--- a/lib/compiler/implementation/operations.dart
+++ b/lib/compiler/implementation/operations.dart
@@ -168,6 +168,7 @@ class ArithmeticNumOperation implements BinaryOperation {
return new DoubleConstant(foldedValue);
}
}
+ return null;
}
bool isDivide() => false;

Powered by Google App Engine
This is Rietveld 408576698