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

Unified Diff: tests/compiler/dart2js/sourcemaps/trace_graph.dart

Issue 2431223006: Add stacktrace_test (Closed)
Patch Set: Support d8 access on linux/macos Created 4 years, 2 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: tests/compiler/dart2js/sourcemaps/trace_graph.dart
diff --git a/tests/compiler/dart2js/sourcemaps/trace_graph.dart b/tests/compiler/dart2js/sourcemaps/trace_graph.dart
index 0db1e183626c6c0c5c0257e107164c28365139d6..feceab2f16d37b80c3b47116071136c5061dc581 100644
--- a/tests/compiler/dart2js/sourcemaps/trace_graph.dart
+++ b/tests/compiler/dart2js/sourcemaps/trace_graph.dart
@@ -20,7 +20,7 @@ class TraceGraph {
void addStep(TraceStep step) {
steps.add(step);
- int offset = step.offset.subexpressionOffset;
+ int offset = step.offset.value;
TraceStep existingStep = offsetMap[offset];
if (existingStep != null) {
// TODO(johnniwinther): Fix problems with reuse of JS nodes from

Powered by Google App Engine
This is Rietveld 408576698