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

Issue 63903005: Use the VM's graph builder nesting stack for loop depth and context level. (Closed)

Created:
7 years, 1 month ago by Kevin Millikin (Google)
Modified:
7 years, 1 month ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Use the VM's graph builder nesting stack for loop depth and context level. Use the code's nesting to maintain the context level rather than explicitly tracking it in the graph builder. Nested blocks know their scope and the nesting stack can be searched to find the current context level. Nested loops now increment and decrement the graph builder's loop depth while they are on the nesting stack, though the loop depth state is still kept in the graph builder itself. R=fschneider@google.com Committed: https://code.google.com/p/dart/source/detail?r=30397

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -87 lines) Patch
M runtime/vm/flow_graph_builder.h View 6 chunks +6 lines, -45 lines 0 comments Download
M runtime/vm/flow_graph_builder.cc View 16 chunks +98 lines, -42 lines 2 comments Download

Messages

Total messages: 4 (0 generated)
Kevin Millikin (Google)
* I incorporated in the review feedback from my previous change, which I forgot to ...
7 years, 1 month ago (2013-11-18 15:08:54 UTC) #1
Florian Schneider
lgtm https://codereview.chromium.org/63903005/diff/1/runtime/vm/flow_graph_builder.cc File runtime/vm/flow_graph_builder.cc (right): https://codereview.chromium.org/63903005/diff/1/runtime/vm/flow_graph_builder.cc#newcode49 runtime/vm/flow_graph_builder.cc:49: NestedStatement(FlowGraphBuilder* owner, const SourceLabel* label) Since only subclasses ...
7 years, 1 month ago (2013-11-19 10:37:05 UTC) #2
Kevin Millikin (Google)
https://codereview.chromium.org/63903005/diff/1/runtime/vm/flow_graph_builder.cc File runtime/vm/flow_graph_builder.cc (right): https://codereview.chromium.org/63903005/diff/1/runtime/vm/flow_graph_builder.cc#newcode49 runtime/vm/flow_graph_builder.cc:49: NestedStatement(FlowGraphBuilder* owner, const SourceLabel* label) On 2013/11/19 10:37:05, Florian ...
7 years, 1 month ago (2013-11-19 11:36:53 UTC) #3
Kevin Millikin (Google)
7 years, 1 month ago (2013-11-19 11:37:19 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 manually as r30397 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698