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

Unified Diff: runtime/vm/kernel.h

Issue 2680303002: Kernel debugging; service tests (Closed)
Patch Set: Address comments Created 3 years, 9 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 | « runtime/observatory/tests/service/step_test.dart ('k') | runtime/vm/kernel_binary.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/kernel.h
diff --git a/runtime/vm/kernel.h b/runtime/vm/kernel.h
index 29f7c7d5d60734673c16c349b907f3cc69897db4..7bc2a48fe55c8cc6d1817a1693877e5232a923ac 100644
--- a/runtime/vm/kernel.h
+++ b/runtime/vm/kernel.h
@@ -2470,10 +2470,13 @@ class VariableDeclaration : public Statement {
DartType* type() { return type_; }
InferredValue* inferred_value() { return inferred_value_; }
Expression* initializer() { return initializer_; }
+ TokenPosition equals_position() { return equals_position_; }
TokenPosition end_position() { return end_position_; }
private:
- VariableDeclaration() : end_position_(TokenPosition::kNoSource) {}
+ VariableDeclaration()
+ : equals_position_(TokenPosition::kNoSourcePos),
+ end_position_(TokenPosition::kNoSource) {}
template <typename T>
friend class List;
@@ -2483,6 +2486,7 @@ class VariableDeclaration : public Statement {
Child<DartType> type_;
Child<InferredValue> inferred_value_;
Child<Expression> initializer_;
+ TokenPosition equals_position_;
TokenPosition end_position_;
DISALLOW_COPY_AND_ASSIGN(VariableDeclaration);
« no previous file with comments | « runtime/observatory/tests/service/step_test.dart ('k') | runtime/vm/kernel_binary.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698