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

Issue 1180903002: null-aware operators in the VM (Closed)

Created:
5 years, 6 months ago by hausner
Modified:
5 years, 6 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org, iposva
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Conditional ?. operator #

Patch Set 3 : Implement remainder of null-aware operators #

Total comments: 12

Patch Set 4 : Add test for opt compiler #

Total comments: 4

Patch Set 5 : updating test and status files #

Unified diffs Side-by-side diffs Delta from patch set Stats (+417 lines, -89 lines) Patch
M runtime/vm/ast.h View 1 2 3 4 9 chunks +18 lines, -6 lines 0 comments Download
M runtime/vm/ast.cc View 1 2 2 chunks +8 lines, -2 lines 0 comments Download
M runtime/vm/ast_transformer.cc View 3 chunks +6 lines, -3 lines 0 comments Download
M runtime/vm/flow_graph_builder.cc View 1 2 3 6 chunks +229 lines, -29 lines 0 comments Download
M runtime/vm/parser.h View 2 chunks +5 lines, -2 lines 0 comments Download
M runtime/vm/parser.cc View 1 2 3 21 chunks +70 lines, -35 lines 0 comments Download
M runtime/vm/scanner.cc View 1 2 1 chunk +9 lines, -1 line 0 comments Download
M tests/language/language.status View 1 2 3 1 chunk +7 lines, -11 lines 0 comments Download
M tests/language/language_dart2js.status View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A tests/language/nullaware_opt_test.dart View 1 2 3 4 1 chunk +64 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (1 generated)
hausner
The changes in flow_graph_builder.cc need particular scrutiny.
5 years, 6 months ago (2015-06-17 15:57:25 UTC) #2
hausner
Yes I have a CL out to add this to the VM. Thanks for the ...
5 years, 6 months ago (2015-06-17 18:03:10 UTC) #3
srdjan
Please add tests that trigger optimized code for null-aware operators. https://codereview.chromium.org/1180903002/diff/40001/runtime/vm/ast.h File runtime/vm/ast.h (right): https://codereview.chromium.org/1180903002/diff/40001/runtime/vm/ast.h#newcode1480 ...
5 years, 6 months ago (2015-06-17 18:15:36 UTC) #4
hausner
PTAL https://codereview.chromium.org/1180903002/diff/40001/runtime/vm/ast.h File runtime/vm/ast.h (right): https://codereview.chromium.org/1180903002/diff/40001/runtime/vm/ast.h#newcode1480 runtime/vm/ast.h:1480: bool is_conditional) On 2015/06/17 18:15:36, srdjan wrote: > ...
5 years, 6 months ago (2015-06-17 22:24:57 UTC) #5
srdjan
lgtm https://codereview.chromium.org/1180903002/diff/60001/runtime/vm/ast.h File runtime/vm/ast.h (right): https://codereview.chromium.org/1180903002/diff/60001/runtime/vm/ast.h#newcode1453 runtime/vm/ast.h:1453: bool is_conditional_; const (also all below)
5 years, 6 months ago (2015-06-17 23:16:37 UTC) #6
Florian Schneider
dbc: https://codereview.chromium.org/1180903002/diff/60001/runtime/vm/flow_graph_builder.cc File runtime/vm/flow_graph_builder.cc (right): https://codereview.chromium.org/1180903002/diff/60001/runtime/vm/flow_graph_builder.cc#newcode1445 runtime/vm/flow_graph_builder.cc:1445: // temp = left; temp === null ? ...
5 years, 6 months ago (2015-06-18 14:09:00 UTC) #7
hausner
Thank you for taking a look. https://codereview.chromium.org/1180903002/diff/60001/runtime/vm/ast.h File runtime/vm/ast.h (right): https://codereview.chromium.org/1180903002/diff/60001/runtime/vm/ast.h#newcode1453 runtime/vm/ast.h:1453: bool is_conditional_; On ...
5 years, 6 months ago (2015-06-18 17:55:37 UTC) #8
hausner
5 years, 6 months ago (2015-06-18 18:05:33 UTC) #9
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
0535e37619995083321e22a3eda575920d36218c (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698