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

Issue 14071003: Fix first part on liveness analysis of bug https://code.google.com/p/dart/issues/detail?id=9687: a … (Closed)

Created:
7 years, 8 months ago by ngeoffray
Modified:
7 years, 8 months ago
Reviewers:
kasperl
CC:
reviews_dartlang.org, ahe
Visibility:
Public.

Description

Fix first part on liveness analysis of bug https://code.google.com/p/dart/issues/detail?id=9687: a throw in a catch block must have the finally block as a successor. Committed: https://code.google.com/p/dart/source/detail?r=21278

Patch Set 1 #

Total comments: 5

Patch Set 2 : #

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -28 lines) Patch
M sdk/lib/_internal/compiler/implementation/ssa/builder.dart View 1 2 3 11 chunks +22 lines, -17 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/ssa/codegen.dart View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/ssa/validate.dart View 1 2 3 1 chunk +5 lines, -9 lines 0 comments Download
A tests/language/execute_finally10_test.dart View 1 2 3 1 chunk +46 lines, -0 lines 0 comments Download
A tests/language/execute_finally11_test.dart View 1 2 3 1 chunk +49 lines, -0 lines 0 comments Download
A tests/language/execute_finally12_test.dart View 1 2 1 chunk +29 lines, -0 lines 0 comments Download
M tests/language/language.status View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
ngeoffray
https://codereview.chromium.org/14071003/diff/1/sdk/lib/_internal/compiler/implementation/ssa/builder.dart File sdk/lib/_internal/compiler/implementation/ssa/builder.dart (right): https://codereview.chromium.org/14071003/diff/1/sdk/lib/_internal/compiler/implementation/ssa/builder.dart#newcode3902 sdk/lib/_internal/compiler/implementation/ssa/builder.dart:3902: handleInTryStatement(); We do this for return/break/continue, but we forgot ...
7 years, 8 months ago (2013-04-10 14:51:16 UTC) #1
ahe
DBC https://codereview.chromium.org/14071003/diff/1/tests/language/execute_finally10_test.dart File tests/language/execute_finally10_test.dart (right): https://codereview.chromium.org/14071003/diff/1/tests/language/execute_finally10_test.dart#newcode37 tests/language/execute_finally10_test.dart:37: b.run(); Add throw statement here: throw 'Expected an ...
7 years, 8 months ago (2013-04-10 15:17:54 UTC) #2
ngeoffray
Thanks Peter. I have also improved the CL by fixing nested try/catch, and making sure ...
7 years, 8 months ago (2013-04-10 15:51:16 UTC) #3
ngeoffray
I found some problems with this CL, I'll rework it and let you know when ...
7 years, 8 months ago (2013-04-11 08:34:59 UTC) #4
ngeoffray
You can now (re)review the CL. When explaining to Peter what is going on with ...
7 years, 8 months ago (2013-04-11 12:18:45 UTC) #5
kasperl
LGTM. https://codereview.chromium.org/14071003/diff/11001/sdk/lib/_internal/compiler/implementation/ssa/builder.dart File sdk/lib/_internal/compiler/implementation/ssa/builder.dart (right): https://codereview.chromium.org/14071003/diff/11001/sdk/lib/_internal/compiler/implementation/ssa/builder.dart#newcode3903 sdk/lib/_internal/compiler/implementation/ssa/builder.dart:3903: close(new HThrow(exception, isRethrow: true)).addSuccessor(graph.exit); I'd prefer a new ...
7 years, 8 months ago (2013-04-11 12:28:53 UTC) #6
ngeoffray
Thanks Kasper. https://codereview.chromium.org/14071003/diff/11001/sdk/lib/_internal/compiler/implementation/ssa/builder.dart File sdk/lib/_internal/compiler/implementation/ssa/builder.dart (right): https://codereview.chromium.org/14071003/diff/11001/sdk/lib/_internal/compiler/implementation/ssa/builder.dart#newcode3903 sdk/lib/_internal/compiler/implementation/ssa/builder.dart:3903: close(new HThrow(exception, isRethrow: true)).addSuccessor(graph.exit); On 2013/04/11 12:28:53, ...
7 years, 8 months ago (2013-04-11 12:52:28 UTC) #7
ngeoffray
7 years, 8 months ago (2013-04-11 13:20:23 UTC) #8
Message was sent while issue was closed.
Committed patchset #5 manually as r21278 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698