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

Unified Diff: pkg/compiler/lib/src/native/ssa.dart

Issue 1196433002: Create and test source mapping for invocations. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Rebased Created 5 years, 6 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
« no previous file with comments | « pkg/compiler/lib/src/js_backend/js_backend.dart ('k') | pkg/compiler/lib/src/source_file_provider.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/native/ssa.dart
diff --git a/pkg/compiler/lib/src/native/ssa.dart b/pkg/compiler/lib/src/native/ssa.dart
index 09f4e03d65d39364d49e03ae00a423e71983fe64..e622559339fa02276b66f05f5c4afd946c808c38 100644
--- a/pkg/compiler/lib/src/native/ssa.dart
+++ b/pkg/compiler/lib/src/native/ssa.dart
@@ -92,7 +92,10 @@ void handleSsaNative(SsaBuilder builder, Expression nativeBody) {
js.js.uncachedExpressionTemplate(nativeMethodCall),
backend.dynamicType,
inputs, effects: new SideEffects()));
- builder.close(new HReturn(builder.pop())).addSuccessor(builder.graph.exit);
+ // TODO(johnniwinther): Provide source information.
+ builder
+ .close(new HReturn(builder.pop(), null))
+ .addSuccessor(builder.graph.exit);
} else {
if (parameters.parameterCount != 0) {
compiler.internalError(nativeBody,
« no previous file with comments | « pkg/compiler/lib/src/js_backend/js_backend.dart ('k') | pkg/compiler/lib/src/source_file_provider.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698