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

Unified Diff: runtime/vm/parser.h

Issue 1180903002: null-aware operators in the VM (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Add test for opt compiler Created 5 years, 6 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/parser.h
diff --git a/runtime/vm/parser.h b/runtime/vm/parser.h
index a2492a69ef9d0d65c40d9e301f26dc8e8e244363..ba56ec91cfbf3073e4b94552f48951d325ac65d3 100644
--- a/runtime/vm/parser.h
+++ b/runtime/vm/parser.h
@@ -577,7 +577,9 @@ class Parser : public ValueObject {
AstNode* LoadReceiver(intptr_t token_pos);
AstNode* LoadFieldIfUnresolved(AstNode* node);
AstNode* LoadClosure(PrimaryNode* primary);
- AstNode* CallGetter(intptr_t token_pos, AstNode* object, const String& name);
+ InstanceGetterNode* CallGetter(intptr_t token_pos,
+ AstNode* object,
+ const String& name);
AstNode* ParseAssertStatement();
AstNode* ParseJump(String* label_name);
@@ -708,7 +710,8 @@ class Parser : public ValueObject {
intptr_t ident_pos);
AstNode* ParseInstanceCall(AstNode* receiver,
const String& method_name,
- intptr_t ident_pos);
+ intptr_t ident_pos,
+ bool is_conditional);
AstNode* ParseClosureCall(AstNode* closure);
AstNode* GenerateStaticFieldLookup(const Field& field,
intptr_t ident_pos);

Powered by Google App Engine
This is Rietveld 408576698