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

Issue 11031068: Do not GVN HLocalGet. If the local is final, the GVN thinks it can loop hoist accesses to it (which… (Closed)

Created:
8 years, 2 months ago by ngeoffray
Modified:
8 years, 2 months ago
Reviewers:
Søren Gjesse, kasperl
CC:
reviews_dartlang.org, Emily Fortuna
Visibility:
Public.

Description

Do not GVN HLocalGet. If the local is final, the GVN thinks it can loop hoist accesses to it (which it can't because the variable may have not been initialized). Committed: https://code.google.com/p/dart/source/detail?r=13280

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -0 lines) Patch
M lib/compiler/implementation/ssa/nodes.dart View 1 chunk +6 lines, -0 lines 0 comments Download
A tests/language/final_used_in_try_test.dart View 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
ngeoffray
This fixes the regression Emily was seeing on the Dromaeo benchmark.
8 years, 2 months ago (2012-10-05 10:28:35 UTC) #1
kasperl
8 years, 2 months ago (2012-10-05 10:30:02 UTC) #2
LGTM.

Powered by Google App Engine
This is Rietveld 408576698