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

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

Issue 893963005: Refactor handling of source map information. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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/ssa/interceptor_simplifier.dart
diff --git a/pkg/compiler/lib/src/ssa/interceptor_simplifier.dart b/pkg/compiler/lib/src/ssa/interceptor_simplifier.dart
index 3a0f46787611b4ba445ddf7d5a93aea16d08c351..d8213e2ca289cebe0d47db8d2d71574239ae4c80 100644
--- a/pkg/compiler/lib/src/ssa/interceptor_simplifier.dart
+++ b/pkg/compiler/lib/src/ssa/interceptor_simplifier.dart
@@ -300,7 +300,7 @@ class SsaSimplifyInterceptors extends HBaseVisitor
if (backend.mayGenerateInstanceofCheck(user.typeExpression)) {
HInstruction instanceofCheck = new HIs.instanceOf(
user.typeExpression, user.expression, user.instructionType);
- instanceofCheck.sourcePosition = user.sourcePosition;
+ instanceofCheck.sourceInformation = user.sourceInformation;
instanceofCheck.sourceElement = user.sourceElement;
return replaceUserWith(instanceofCheck);
}
@@ -313,7 +313,7 @@ class SsaSimplifyInterceptors extends HBaseVisitor
inputs[0] = nullConstant;
HOneShotInterceptor oneShotInterceptor = new HOneShotInterceptor(
user.selector, inputs, user.instructionType, interceptedClasses);
- oneShotInterceptor.sourcePosition = user.sourcePosition;
+ oneShotInterceptor.sourceInformation = user.sourceInformation;
oneShotInterceptor.sourceElement = user.sourceElement;
return replaceUserWith(oneShotInterceptor);
}

Powered by Google App Engine
This is Rietveld 408576698