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

Issue 1148093005: Fix a bug when narrowing the result type of a field get. (Closed)

Created:
5 years, 7 months ago by karlklose
Modified:
5 years, 7 months ago
Reviewers:
floitsch
CC:
reviews_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix a bug when narrowing the result type of a field get. This fixes an assertion failure that occured after the optimizations in 0ef007d00bd8fd61f80c0ce032289474e88fa278, when we tried to rewrite a field get for a .length expression, where we already had a more specific type and used that in a truncating divide. R=floitsch@google.com Committed: https://github.com/dart-lang/sdk/commit/c0a14a9af21de0378e5ff79bbb4a296c8f86a68b

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -1 line) Patch
M pkg/compiler/lib/src/ssa/optimize.dart View 1 chunk +10 lines, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
karlklose
5 years, 7 months ago (2015-05-26 14:44:09 UTC) #1
floitsch
LGTM.
5 years, 7 months ago (2015-05-26 15:28:46 UTC) #2
karlklose
5 years, 7 months ago (2015-05-27 06:33:09 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
c0a14a9af21de0378e5ff79bbb4a296c8f86a68b (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698