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

Issue 2030763002: Fix finally clause inlining for forward jumps (Closed)

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

Description

Fix finally clause inlining for forward jumps In switch statements, ‘continue L’ jumps can refer to a label that the compiler hasn’t seen yet. The label is tentatively to be in the innermost switch statement, but may later be moved to an outer switch statement. The compiler must make sure that the correct finally blocks are inlined in front of these jumps. BUG=26577, 25310 R=regis@google.com Committed: https://github.com/dart-lang/sdk/commit/1859ce46c337e4e047e6543c561ff77af7910074

Patch Set 1 #

Patch Set 2 : Update comments #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -7 lines) Patch
M runtime/vm/parser.h View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/parser.cc View 1 2 5 chunks +38 lines, -1 line 0 comments Download
M runtime/vm/scopes.h View 3 chunks +4 lines, -1 line 0 comments Download
M runtime/vm/scopes.cc View 2 chunks +9 lines, -1 line 0 comments Download
M tests/co19/co19-runtime.status View 1 2 2 chunks +0 lines, -4 lines 0 comments Download

Messages

Total messages: 8 (4 generated)
hausner
4 years, 6 months ago (2016-06-01 23:41:29 UTC) #3
regis
LGTM except for a loop that does not look right. https://codereview.chromium.org/2030763002/diff/20001/runtime/vm/parser.cc File runtime/vm/parser.cc (right): https://codereview.chromium.org/2030763002/diff/20001/runtime/vm/parser.cc#newcode401 ...
4 years, 6 months ago (2016-06-02 01:13:25 UTC) #5
hausner
https://codereview.chromium.org/2030763002/diff/20001/runtime/vm/parser.cc File runtime/vm/parser.cc (right): https://codereview.chromium.org/2030763002/diff/20001/runtime/vm/parser.cc#newcode401 runtime/vm/parser.cc:401: inlined_finally_nodes_[i] = inlined_finally_nodes_[j]; On 2016/06/02 01:13:25, regis wrote: > ...
4 years, 6 months ago (2016-06-02 15:38:51 UTC) #6
hausner
4 years, 6 months ago (2016-06-02 16:03:54 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
1859ce46c337e4e047e6543c561ff77af7910074 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698