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

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

Issue 1235973004: dart2js: Use the correct hashes for deferred code in the startup-emitter. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address comments. Created 5 years, 5 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/startup_emitter/emitter.dart
diff --git a/pkg/compiler/lib/src/js_emitter/startup_emitter/emitter.dart b/pkg/compiler/lib/src/js_emitter/startup_emitter/emitter.dart
index 83aeb44c8655544b5ae1212604f3b8e34a786b4b..0b37620e0553cd7bb287c79eaf626202a3401f5b 100644
--- a/pkg/compiler/lib/src/js_emitter/startup_emitter/emitter.dart
+++ b/pkg/compiler/lib/src/js_emitter/startup_emitter/emitter.dart
@@ -36,10 +36,12 @@ class Emitter implements emitterTask.Emitter {
JavaScriptBackend get _backend => _compiler.backend;
- Emitter(Compiler compiler, Namer namer, NativeEmitter nativeEmitter)
+ Emitter(Compiler compiler, Namer namer, NativeEmitter nativeEmitter,
+ bool shouldGenerateSourceMap)
: this._compiler = compiler,
this.namer = namer,
- _emitter = new ModelEmitter(compiler, namer, nativeEmitter);
+ _emitter = new ModelEmitter(
+ compiler, namer, nativeEmitter, shouldGenerateSourceMap);
@override
String get patchVersion => "startup";

Powered by Google App Engine
This is Rietveld 408576698