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

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

Issue 12035079: Fix braino that lead to dead code that contained a typo. Also add a regression test. (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
« no previous file with comments | « tests/compiler/dart2js/interceptor_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/mock_compiler.dart
===================================================================
--- tests/compiler/dart2js/mock_compiler.dart (revision 17552)
+++ tests/compiler/dart2js/mock_compiler.dart (working copy)
@@ -32,18 +32,12 @@
}
const String DEFAULT_HELPERLIB = r'''
- 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) {}
$throw(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; }
guard$stringOrArray(x) { return x; }
- index(a, index) {}
- indexSet(a, index, value) {}
makeLiteralMap(List keyValuePairs) {}
setRuntimeTypeInfo(a, b) {}
getRuntimeTypeInfo(a) {}
@@ -108,6 +102,7 @@
class String {}
class Object {
operator ==(other) {}
+ String toString() {}
}
class Type {}
class Function {}
« no previous file with comments | « tests/compiler/dart2js/interceptor_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698