Index: tests/compiler/dart2js/mock_compiler.dart |
diff --git a/tests/compiler/dart2js/mock_compiler.dart b/tests/compiler/dart2js/mock_compiler.dart |
index adbdc766ff0fcb33f9bc3bba06493256fb9969dd..ca86888925e27adc4230c0555c02b756a1b78dd6 100644 |
--- a/tests/compiler/dart2js/mock_compiler.dart |
+++ b/tests/compiler/dart2js/mock_compiler.dart |
@@ -167,14 +167,16 @@ class MockCompiler extends Compiler { |
bool enableMinification: false, |
bool enableConcreteTypeInference: false, |
int maxConcreteTypeSize: 5, |
- bool analyzeAll: false}) |
+ bool analyzeAll: false, |
+ bool analyzeOnly: false}) |
: warnings = [], errors = [], |
sourceFiles = new Map<String, SourceFile>(), |
super(enableTypeAssertions: enableTypeAssertions, |
enableMinification: enableMinification, |
enableConcreteTypeInference: enableConcreteTypeInference, |
maxConcreteTypeSize: maxConcreteTypeSize, |
- analyzeAll: analyzeAll) { |
+ analyzeAll: analyzeAll, |
+ analyzeOnly: analyzeOnly) { |
coreLibrary = createLibrary("core", coreSource); |
// We need to set the assert method to avoid calls with a 'null' |
// target being interpreted as a call to assert. |