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

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

Issue 893963005: Refactor handling of source map information. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. 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
« no previous file with comments | « pkg/compiler/lib/src/ssa/interceptor_simplifier.dart ('k') | pkg/compiler/lib/src/ssa/optimize.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/ssa/nodes.dart
diff --git a/pkg/compiler/lib/src/ssa/nodes.dart b/pkg/compiler/lib/src/ssa/nodes.dart
index 7337b7b14c7a41568c706f8ce58ad313f60a836d..93f26c1717d9a8a8efe5f9074ea8abc6e864a76d 100644
--- a/pkg/compiler/lib/src/ssa/nodes.dart
+++ b/pkg/compiler/lib/src/ssa/nodes.dart
@@ -759,7 +759,7 @@ class HBasicBlock extends HInstructionList {
abstract class HInstruction implements Spannable {
Entity sourceElement;
- SourceFileLocation sourcePosition;
+ SourceInformation sourceInformation;
final int id;
static int idCounter;
@@ -2882,8 +2882,7 @@ class HLoopBlockInformation implements HStatementInformation {
final HExpressionInformation updates;
final JumpTarget target;
final List<LabelDefinition> labels;
- final SourceFileLocation sourcePosition;
- final SourceFileLocation endSourcePosition;
+ final SourceInformation sourceInformation;
HLoopBlockInformation(this.kind,
this.initializer,
@@ -2892,8 +2891,7 @@ class HLoopBlockInformation implements HStatementInformation {
this.updates,
this.target,
this.labels,
- this.sourcePosition,
- this.endSourcePosition) {
+ this.sourceInformation) {
assert(
(kind == DO_WHILE_LOOP ? body.start : condition.start).isLoopHeader());
}
« no previous file with comments | « pkg/compiler/lib/src/ssa/interceptor_simplifier.dart ('k') | pkg/compiler/lib/src/ssa/optimize.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698