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

Issue 12033008: Fix bug https://code.google.com/p/dart/issues/detail?id=7994: the range analysis gives a fixed rang… (Closed)

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

Description

Fix bug https://code.google.com/p/dart/issues/detail?id=7994: the range analysis gives a fixed ranged to a fixed length list (e.g. [1024, 1024]), so when narrowing the range of an instruction that is used as an index, we should not use the range of the length, but use [0, lengthRange.upper - 1]. Committed: https://code.google.com/p/dart/source/detail?r=17338

Patch Set 1 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -8 lines) Patch
M sdk/lib/_internal/compiler/implementation/ssa/value_range_analyzer.dart View 2 chunks +9 lines, -8 lines 0 comments Download
A tests/language/fixed_length_test.dart View 1 chunk +23 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
ngeoffray
7 years, 11 months ago (2013-01-21 10:17:29 UTC) #1
kasperl
7 years, 11 months ago (2013-01-21 10:21:39 UTC) #2
LGTM.

Powered by Google App Engine
This is Rietveld 408576698