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

Unified Diff: frog/tests/leg/src/mock_compiler.dart

Issue 10140027: Avoid "=== true" inside code by calling a function that does this for us. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove super.getter since dart2js doesn't support it yet. Created 8 years, 8 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: frog/tests/leg/src/mock_compiler.dart
diff --git a/frog/tests/leg/src/mock_compiler.dart b/frog/tests/leg/src/mock_compiler.dart
index 0213347ac0178a348863f7d28b04e04e49b95600..3c4596844a64111af1ff54ce5889f80b94ec2da6 100644
--- a/frog/tests/leg/src/mock_compiler.dart
+++ b/frog/tests/leg/src/mock_compiler.dart
@@ -24,6 +24,7 @@ final String DEFAULT_HELPERLIB = @'''
lt() {} add(var a, var b) {} sub() {} mul() {} div() {} tdiv() {} mod() {}
neg() {} shl() {} shr() {} eq() {} le() {} gt() {} ge() {}
or() {} and() {} not() {} eqNull(a) {} eqq() {}
+ ltB() {} leB() {} eqB() {} gtB() {} geB() {} eqNullB(a) {}
iae(x) {throw x;} ioore(x) {throw x;}
guard$array(x) { return x; }
guard$num(x) { return x; }

Powered by Google App Engine
This is Rietveld 408576698