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

Issue 9959127: New compiler: implement switch/case in graph builder. (Closed)

Created:
8 years, 8 months ago by srdjan
Modified:
8 years, 8 months ago
Reviewers:
regis
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

New compiler: implement switch/case in graph builder. Committed: https://code.google.com/p/dart/source/detail?r=6180

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+143 lines, -3 lines) Patch
M runtime/vm/ast.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_builder.cc View 1 1 chunk +134 lines, -2 lines 0 comments Download
M runtime/vm/scopes.h View 1 3 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
srdjan
8 years, 8 months ago (2012-04-03 23:02:23 UTC) #1
regis
LGTM https://chromiumcodereview.appspot.com/9959127/diff/1/runtime/vm/flow_graph_builder.cc File runtime/vm/flow_graph_builder.cc (right): https://chromiumcodereview.appspot.com/9959127/diff/1/runtime/vm/flow_graph_builder.cc#newcode794 runtime/vm/flow_graph_builder.cc:794: ASSERT(!is_open()); Can you move this ASSERT up inside ...
8 years, 8 months ago (2012-04-04 01:31:08 UTC) #2
srdjan
8 years, 8 months ago (2012-04-04 17:33:00 UTC) #3
https://chromiumcodereview.appspot.com/9959127/diff/1/runtime/vm/flow_graph_b...
File runtime/vm/flow_graph_builder.cc (right):

https://chromiumcodereview.appspot.com/9959127/diff/1/runtime/vm/flow_graph_b...
runtime/vm/flow_graph_builder.cc:794: ASSERT(!is_open());
On 2012/04/04 01:31:08, regis wrote:
> Can you move this ASSERT up inside the loop? Each for_case_expression should
be
> closed, right?

Discussed offline, leaving it here. Checking that we have added a fragment to
'this' EffectGraphVisitor' which has closed it.

Powered by Google App Engine
This is Rietveld 408576698