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

Unified Diff: pkg/compiler/lib/src/js_backend/backend.dart

Issue 955543004: Pass SourceInformation through the CPS IR. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update comments Created 5 years, 10 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_backend/backend.dart
diff --git a/pkg/compiler/lib/src/js_backend/backend.dart b/pkg/compiler/lib/src/js_backend/backend.dart
index 75f3dab49e198e7a3d9bf2656793766d72e2e1c4..23465e9ae85c2a2961926538f0da9873c7700c09 100644
--- a/pkg/compiler/lib/src/js_backend/backend.dart
+++ b/pkg/compiler/lib/src/js_backend/backend.dart
@@ -461,7 +461,8 @@ class JavaScriptBackend extends Backend {
resolutionCallbacks = new JavaScriptResolutionCallbacks(this);
patchResolverTask = new PatchResolverTask(compiler);
functionCompiler = USE_CPS_IR
- ? new CpsFunctionCompiler(compiler, this)
+ ? new CpsFunctionCompiler(
+ compiler, this, generateSourceMap: generateSourceMap)
: new SsaFunctionCompiler(this, generateSourceMap);
}

Powered by Google App Engine
This is Rietveld 408576698