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

Issue 15935005: Remove pseudo-node from LoadLocalNode and replace it with a proper AST node. (Closed)

Created:
7 years, 6 months ago by Florian Schneider
Modified:
7 years, 6 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Remove pseudo-node from LoadLocalNode and replace it with a proper AST node. The newly introduces CommaNode denotes a sequence of two nodes, the result is the value of the second child node. There are only two places where the pseudo-node was used, and therefore it does not warrant adding an extra member to all LoadLocalNode objects. R=kmillikin@google.com Committed: https://code.google.com/p/dart/source/detail?r=23243

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -41 lines) Patch
M runtime/vm/ast.h View 4 chunks +32 lines, -19 lines 2 comments Download
M runtime/vm/ast.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M runtime/vm/ast_printer.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_builder.h View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/flow_graph_builder.cc View 2 chunks +24 lines, -6 lines 1 comment Download
M runtime/vm/parser.cc View 5 chunks +11 lines, -13 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Florian Schneider
7 years, 6 months ago (2013-05-28 08:08:37 UTC) #1
Kevin Millikin (Google)
LGTM, but could you support flat sequences of more than two children? Pretty please? https://codereview.chromium.org/15935005/diff/1/runtime/vm/ast.h ...
7 years, 6 months ago (2013-05-28 09:13:26 UTC) #2
Florian Schneider
Yes. I'll add that functionality in a separate CL. https://codereview.chromium.org/15935005/diff/1/runtime/vm/ast.h File runtime/vm/ast.h (right): https://codereview.chromium.org/15935005/diff/1/runtime/vm/ast.h#newcode188 runtime/vm/ast.h:188: ...
7 years, 6 months ago (2013-05-28 09:22:35 UTC) #3
Florian Schneider
7 years, 6 months ago (2013-05-28 09:30:49 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 manually as r23243 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698