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

Unified Diff: pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart

Issue 2809203003: Remove Compiler/JavaScriptBackend from metadata_collector (Closed)
Patch Set: Created 3 years, 8 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: pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart
diff --git a/pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart b/pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart
index 75b16fe9a24f7850e091ba679f59ccde8cca2061..bf627b3a69f8a59668ed9264a6a00b5b5bc215b1 100644
--- a/pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart
+++ b/pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart
@@ -1535,7 +1535,8 @@ class Emitter implements js_emitter.Emitter {
compiler.outputProvider('', 'js', OutputType.js), codeOutputListeners);
outputBuffers[mainOutputUnit] = mainOutput;
- mainOutput.addBuffer(jsAst.createCodeBuffer(program, compiler,
+ mainOutput.addBuffer(jsAst.createCodeBuffer(
+ program, compiler.options, backend.sourceInformationStrategy,
monitor: compiler.dumpInfoTask));
if (compiler.options.deferredMapUri != null) {
@@ -1869,7 +1870,8 @@ class Emitter implements js_emitter.Emitter {
outputBuffers[outputUnit] = output;
- output.addBuffer(jsAst.createCodeBuffer(outputAsts[outputUnit], compiler,
+ output.addBuffer(jsAst.createCodeBuffer(outputAsts[outputUnit],
+ compiler.options, backend.sourceInformationStrategy,
monitor: compiler.dumpInfoTask));
// Make a unique hash of the code (before the sourcemaps are added)

Powered by Google App Engine
This is Rietveld 408576698