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

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

Issue 208043003: Rename [call$...] properties to [$...] in compiled code. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: found another use of call Created 6 years, 9 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/closure_codegen_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/compiler_helper.dart
diff --git a/tests/compiler/dart2js/compiler_helper.dart b/tests/compiler/dart2js/compiler_helper.dart
index 790f3cc058a59651a74ce9058b3db2360dbb3b08..5353bcfbc640eef339d98186e756f619312c2003 100644
--- a/tests/compiler/dart2js/compiler_helper.dart
+++ b/tests/compiler/dart2js/compiler_helper.dart
@@ -89,6 +89,7 @@ MockCompiler compilerFor(String code, Uri uri,
bool analyzeOnly: false,
String coreSource: DEFAULT_CORELIB,
bool disableInlining: true,
+ bool minify: false,
int expectedErrors,
int expectedWarnings}) {
MockCompiler compiler = new MockCompiler(
@@ -96,6 +97,7 @@ MockCompiler compilerFor(String code, Uri uri,
analyzeOnly: analyzeOnly,
coreSource: coreSource,
disableInlining: disableInlining,
+ enableMinification: minify,
expectedErrors: expectedErrors,
expectedWarnings: expectedWarnings);
compiler.sourceFiles[uri.toString()] =
@@ -106,12 +108,14 @@ MockCompiler compilerFor(String code, Uri uri,
Future<String> compileAll(String code,
{String coreSource: DEFAULT_CORELIB,
bool disableInlining: true,
+ bool minify: false,
int expectedErrors,
int expectedWarnings}) {
Uri uri = new Uri(scheme: 'source');
MockCompiler compiler = compilerFor(
code, uri, coreSource: coreSource, disableInlining: disableInlining,
- expectedErrors: expectedErrors, expectedWarnings: expectedWarnings);
+ minify: minify, expectedErrors: expectedErrors,
+ expectedWarnings: expectedWarnings);
return compiler.runCompiler(uri).then((_) {
Expect.isFalse(compiler.compilationFailed,
'Unexpected compilation error');
« no previous file with comments | « tests/compiler/dart2js/closure_codegen_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698