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

Issue 57703004: Constant fold strict comparison based on incoming types: different (exact) types means that the res… (Closed)

Created:
7 years, 1 month ago by srdjan
Modified:
7 years, 1 month ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Constant fold strict comparison based on incoming types: different (exact) types means that the result is false. LoadStaticField computes type for final fields. Make a temporary buffer final. R=kmillikin@google.com Committed: https://code.google.com/p/dart/source/detail?r=30119

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -4 lines) Patch
M runtime/lib/integers.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/flow_graph_optimizer.cc View 1 2 1 chunk +17 lines, -3 lines 0 comments Download
M runtime/vm/flow_graph_type_propagator.cc View 1 2 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
srdjan
7 years, 1 month ago (2013-11-04 18:52:26 UTC) #1
Kevin Millikin (Google)
Sorry for the delay, Srdjan. This change inadvertently disables folding for most of the non-special ...
7 years, 1 month ago (2013-11-07 11:29:37 UTC) #2
srdjan
Thank you for noticing the mistake. The original structure was actually quite good. Just before ...
7 years, 1 month ago (2013-11-07 23:30:34 UTC) #3
Kevin Millikin (Google)
LGTM Srdjan. Thinking about it a bit more, in practice we might not have been ...
7 years, 1 month ago (2013-11-08 10:32:15 UTC) #4
srdjan
7 years, 1 month ago (2013-11-08 17:42:52 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 manually as r30119 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698