Index: tests/compiler/dart2js/sourcemaps/js_tracer.dart |
diff --git a/tests/compiler/dart2js/sourcemaps/js_tracer.dart b/tests/compiler/dart2js/sourcemaps/js_tracer.dart |
index 56d6f129beb7eef7921d13fd4d29a9bd325a82db..6faf88ebf988c832bd44e03300c8b25e9f3734bf 100644 |
--- a/tests/compiler/dart2js/sourcemaps/js_tracer.dart |
+++ b/tests/compiler/dart2js/sourcemaps/js_tracer.dart |
@@ -82,43 +82,29 @@ class StepTraceListener extends TraceListener |
js.Switch switchNode = node; |
text = ['switch(', switchNode.key, ') ...']; |
break; |
- |
} |
- createTraceStep( |
- kind, |
- node, |
+ createTraceStep(kind, node, |
offset: offset, |
- sourceLocation: getSourceLocation( |
- sourceInformation, sourcePositionKind), |
+ sourceLocation: |
+ getSourceLocation(sourceInformation, sourcePositionKind), |
text: text); |
} |
- void createTraceStep( |
- StepKind kind, |
- js.Node node, |
- {Offset offset, |
- List text, |
- String note, |
- SourceLocation sourceLocation}) { |
+ void createTraceStep(StepKind kind, js.Node node, |
+ {Offset offset, List text, String note, SourceLocation sourceLocation}) { |
int id = steppableMap.length; |
if (text == null) { |
text = [node]; |
} |
- TraceStep step = new TraceStep( |
- kind, |
- id, |
- node, |
- offset, |
- text, |
- sourceLocation); |
+ TraceStep step = |
+ new TraceStep(kind, id, node, offset, text, sourceLocation); |
graph.addStep(step); |
steppableMap[node] = step; |
} |
- |
void pushBranch(BranchKind kind, [value]) { |
var branch; |
switch (kind) { |