Index: dart/sdk/lib/_internal/compiler/implementation/apiimpl.dart |
diff --git a/dart/sdk/lib/_internal/compiler/implementation/apiimpl.dart b/dart/sdk/lib/_internal/compiler/implementation/apiimpl.dart |
index de0dcf918f6b5152476939ceaf7dc30fd055f4d9..b3de769f3171a8fbb2d2327501fd7fa2a1568b5a 100644 |
--- a/dart/sdk/lib/_internal/compiler/implementation/apiimpl.dart |
+++ b/dart/sdk/lib/_internal/compiler/implementation/apiimpl.dart |
@@ -33,7 +33,8 @@ class Compiler extends leg.Compiler { |
: this.options = options, |
this.allowedLibraryCategories = getAllowedLibraryCategories(options), |
super( |
- tracer: new ssa.HTracer(), |
+ tracer: new ssa.HTracer( |
+ ssa.GENERATE_SSA_TRACE ? outputProvider('dart', 'cfg') : null), |
outputProvider: outputProvider, |
enableTypeAssertions: hasOption(options, '--enable-checked-mode'), |
enableUserAssertions: hasOption(options, '--enable-checked-mode'), |