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

Unified Diff: runtime/vm/ast.h

Issue 1575953005: Source position tests for switch and try catch finally (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/ast_transformer.cc » ('j') | runtime/vm/flow_graph_builder_test.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/ast.h
diff --git a/runtime/vm/ast.h b/runtime/vm/ast.h
index b737357509bd8484c0a6ddb4b35e54a2bf1a5373..01ae0cf1544a072769676c3d7e6b402ea7186033 100644
--- a/runtime/vm/ast.h
+++ b/runtime/vm/ast.h
@@ -212,8 +212,10 @@ class AwaitNode : public AstNode {
// <AwaitMarker> -> ...
class AwaitMarkerNode : public AstNode {
public:
- AwaitMarkerNode(LocalScope* async_scope, LocalScope* await_scope)
- : AstNode(Scanner::kNoSourcePos),
+ AwaitMarkerNode(LocalScope* async_scope,
+ LocalScope* await_scope,
+ intptr_t token_pos)
+ : AstNode(token_pos),
async_scope_(async_scope),
await_scope_(await_scope) {
ASSERT(async_scope != NULL);
« no previous file with comments | « no previous file | runtime/vm/ast_transformer.cc » ('j') | runtime/vm/flow_graph_builder_test.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698