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

Unified Diff: runtime/vm/flow_graph_builder.cc

Issue 1576583003: More source position improvements and tests (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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 | « no previous file | runtime/vm/flow_graph_builder_test.cc » ('j') | runtime/vm/flow_graph_builder_test.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_builder.cc
diff --git a/runtime/vm/flow_graph_builder.cc b/runtime/vm/flow_graph_builder.cc
index c0ffe2e2398189d8ef0f6b9db7b79630f3378b4c..8d0d10bf5b2c11a42587047e040fc013d940f3db 100644
--- a/runtime/vm/flow_graph_builder.cc
+++ b/runtime/vm/flow_graph_builder.cc
@@ -1218,7 +1218,7 @@ void EffectGraphVisitor::VisitReturnNode(ReturnNode* node) {
// <Expression> ::= Literal { literal: Instance }
void EffectGraphVisitor::VisitLiteralNode(LiteralNode* node) {
- ReturnDefinition(new(Z) ConstantInstr(node->literal()));
+ ReturnDefinition(new(Z) ConstantInstr(node->literal(), node->token_pos()));
}
« no previous file with comments | « no previous file | runtime/vm/flow_graph_builder_test.cc » ('j') | runtime/vm/flow_graph_builder_test.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698