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

Unified Diff: frog/leg/lib/core.dart

Issue 9112012: Implement code generation for === and !==. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix a bug and update status files. Created 8 years, 12 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
« no previous file with comments | « no previous file | frog/leg/resolver.dart » ('j') | frog/leg/ssa/nodes.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/leg/lib/core.dart
diff --git a/frog/leg/lib/core.dart b/frog/leg/lib/core.dart
index 6d2f93bebbc37542d745775ec373c87622432198..216819b7a56c03fb6444f9dedd89c3b211138a73 100644
--- a/frog/leg/lib/core.dart
+++ b/frog/leg/lib/core.dart
@@ -120,6 +120,10 @@ eq(var a, var b) {
return JS("bool", @"$0 === $1", a, b);
}
+eqq(var a, var b) {
ngeoffray 2012/01/06 08:10:20 Why this method if HIdentity always ends up being
+ return JS("bool", @"$0 === $1", a, b);
+}
+
gt(var a, var b) {
if (checkNumbers(a, b, "num> expects a number as second operand.")) {
return JS("bool", @"$0 > $1", a, b);
« no previous file with comments | « no previous file | frog/leg/resolver.dart » ('j') | frog/leg/ssa/nodes.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698