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

Unified Diff: tests/compiler/dart2js/mock_compiler.dart

Issue 10558022: Better bitwise and binary arithmetic when the left operand is known to be a number. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Cleanup HTypeConversion usage. Created 8 years, 6 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: tests/compiler/dart2js/mock_compiler.dart
diff --git a/tests/compiler/dart2js/mock_compiler.dart b/tests/compiler/dart2js/mock_compiler.dart
index df67d19560c20d82792dc25c7c89b82badf1a25e..a27872ec14e8e4cf7b65f9281ed409130af4e20c 100644
--- a/tests/compiler/dart2js/mock_compiler.dart
+++ b/tests/compiler/dart2js/mock_compiler.dart
@@ -25,7 +25,8 @@ final String DEFAULT_HELPERLIB = @'''
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;}
+ captureStackTrace(x) { return x; }
+ iae(x) { throw x; } ioore(x) { throw x; }
guard$array(x) { return x; }
guard$num(x) { return x; }
guard$string(x) { return x; }

Powered by Google App Engine
This is Rietveld 408576698