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

Issue 14566020: - Correctly handle negative constant indices when (Closed)

Created:
7 years, 7 months ago by Ivan Posva
Modified:
7 years, 7 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

- Correctly handle negative constant indices when constant propagation has not eliminated range checks. - Add test to verify the optimizer does not allow negative constant indices when eliminating array bounds checks. R=srdjan@google.com Committed: https://code.google.com/p/dart/source/detail?r=22705

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -41 lines) Patch
M runtime/vm/flow_graph_optimizer.cc View 1 chunk +19 lines, -31 lines 0 comments Download
M runtime/vm/intermediate_language.cc View 2 chunks +12 lines, -4 lines 0 comments Download
M runtime/vm/intermediate_language_arm.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language_ia32.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M runtime/vm/intermediate_language_mips.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language_x64.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M tests/language/optimized_constant_array_string_access_test.dart View 1 chunk +14 lines, -4 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Ivan Posva
7 years, 7 months ago (2013-05-14 20:31:07 UTC) #1
srdjan
LGTM
7 years, 7 months ago (2013-05-14 20:32:46 UTC) #2
Ivan Posva
7 years, 7 months ago (2013-05-14 20:33:09 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 manually as r22705 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698