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

Unified Diff: runtime/vm/kernel.h

Issue 2680303002: Kernel debugging; service tests (Closed)
Patch Set: New failing test Created 3 years, 10 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: runtime/vm/kernel.h
diff --git a/runtime/vm/kernel.h b/runtime/vm/kernel.h
index b3450f6f8f850bf37ab791a211fbd1ed7912a299..b2f69b13432cab19ecee95f705ab486f5447ec2d 100644
--- a/runtime/vm/kernel.h
+++ b/runtime/vm/kernel.h
@@ -2409,10 +2409,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;
@@ -2422,6 +2425,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);

Powered by Google App Engine
This is Rietveld 408576698