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

Unified Diff: runtime/vm/ast_transformer.cc

Issue 1180903002: null-aware operators in the VM (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: updating test and status files 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
« no previous file with comments | « runtime/vm/ast.cc ('k') | runtime/vm/flow_graph_builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/ast_transformer.cc
diff --git a/runtime/vm/ast_transformer.cc b/runtime/vm/ast_transformer.cc
index b6d20c16403eef84773eb5c20c589f7cdb0fea98..ac3f9f1b9132178de3c66fbec754f6bed1718397 100644
--- a/runtime/vm/ast_transformer.cc
+++ b/runtime/vm/ast_transformer.cc
@@ -436,7 +436,8 @@ void AwaitTransformer::VisitInstanceCallNode(InstanceCallNode* node) {
new(Z) InstanceCallNode(node->token_pos(),
new_receiver,
node->function_name(),
- new_args));
+ new_args,
+ node->is_conditional()));
result_ = new(Z) LoadLocalNode(Scanner::kNoSourcePos, result);
}
@@ -469,7 +470,8 @@ void AwaitTransformer::VisitInstanceGetterNode(InstanceGetterNode* node) {
LocalVariable* result = AddToPreambleNewTempVar(
new(Z) InstanceGetterNode(node->token_pos(),
new_receiver,
- node->field_name()));
+ node->field_name(),
+ node->is_conditional()));
result_ = new(Z) LoadLocalNode(Scanner::kNoSourcePos, result);
}
@@ -484,7 +486,8 @@ void AwaitTransformer::VisitInstanceSetterNode(InstanceSetterNode* node) {
new(Z) InstanceSetterNode(node->token_pos(),
new_receiver,
node->field_name(),
- new_value));
+ new_value,
+ node->is_conditional()));
result_ = new(Z) LoadLocalNode(Scanner::kNoSourcePos, result);
}
« no previous file with comments | « runtime/vm/ast.cc ('k') | runtime/vm/flow_graph_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698