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

Issue 9662043: An HStatic cannot necessarily be generate at use site. (Closed)

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

Description

An HStatic cannot necessarily be generate at use site. Committed: https://code.google.com/p/dart/source/detail?r=5313

Patch Set 1 #

Patch Set 2 : checking isAssignable #

Patch Set 3 : fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -1 line) Patch
M frog/leg/ssa/nodes.dart View 1 1 chunk +4 lines, -1 line 0 comments Download
A tests/language/src/StaticPostfixOperatorTest.dart View 1 2 1 chunk +31 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
ngeoffray
If you consider (a++ == 0), we would generate: t0 = HStatic t1 = HAdd(t0, ...
8 years, 9 months ago (2012-03-11 13:18:45 UTC) #1
kasperl
LGTM. Should we have the same test without the try-finally?
8 years, 9 months ago (2012-03-12 06:38:02 UTC) #2
ngeoffray
Added a test without a try/finally, and also allow generateAtUseSute to non-assignable statics. PTAL
8 years, 9 months ago (2012-03-12 09:42:02 UTC) #3
floitsch
8 years, 9 months ago (2012-03-12 09:42:44 UTC) #4
LGTM.

Powered by Google App Engine
This is Rietveld 408576698