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

Unified Diff: pkg/compiler/lib/src/ssa/optimize.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/optimize.dart
diff --git a/pkg/compiler/lib/src/ssa/optimize.dart b/pkg/compiler/lib/src/ssa/optimize.dart
index 9aa51f0d21e1b0f8ab51293b1fbabb625c6fedc3..04ac400d3229acfbe04644275d195a19cc9854be 100644
--- a/pkg/compiler/lib/src/ssa/optimize.dart
+++ b/pkg/compiler/lib/src/ssa/optimize.dart
@@ -167,8 +167,8 @@ class SsaInstructionSimplifier extends HBaseVisitor
if (replacement.sourceElement == null) {
replacement.sourceElement = instruction.sourceElement;
}
- if (replacement.sourcePosition == null) {
- replacement.sourcePosition = instruction.sourcePosition;
+ if (replacement.sourceInformation == null) {
+ replacement.sourceInformation = instruction.sourceInformation;
}
if (!replacement.isInBasicBlock()) {
// The constant folding can return an instruction that is already

Powered by Google App Engine
This is Rietveld 408576698