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

Issue 23584002: Replace guarded list length field loads with constants (Closed)

Created:
7 years, 3 months ago by Cutch
Modified:
7 years, 3 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Replace guarded list length field loads with constants R=fschneider@google.com, srdjan@google.com Committed: https://code.google.com/p/dart/source/detail?r=27280

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -45 lines) Patch
M runtime/vm/flow_graph_optimizer.cc View 1 2 3 4 1 chunk +18 lines, -45 lines 0 comments Download
M runtime/vm/intermediate_language.cc View 1 2 3 4 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Cutch
7 years, 3 months ago (2013-08-27 12:08:41 UTC) #1
Florian Schneider
https://codereview.chromium.org/23584002/diff/1/runtime/vm/flow_graph_optimizer.cc File runtime/vm/flow_graph_optimizer.cc (right): https://codereview.chromium.org/23584002/diff/1/runtime/vm/flow_graph_optimizer.cc#newcode783 runtime/vm/flow_graph_optimizer.cc:783: LoadFieldInstr* length = If the field has a guarded_list_length: ...
7 years, 3 months ago (2013-08-27 12:51:34 UTC) #2
srdjan
DBC https://codereview.chromium.org/23584002/diff/1/runtime/vm/intermediate_language.cc File runtime/vm/intermediate_language.cc (right): https://codereview.chromium.org/23584002/diff/1/runtime/vm/intermediate_language.cc#newcode2523 runtime/vm/intermediate_language.cc:2523: if (max.UpperBound().value() < known_array_length) { How about "max.UpperBound().value() ...
7 years, 3 months ago (2013-08-27 15:50:33 UTC) #3
Cutch
PTAL at P.S.3 which relies on LoadFieldInstr::Canonicalize to replace get:length on guarded lists with a ...
7 years, 3 months ago (2013-08-28 11:10:49 UTC) #4
Florian Schneider
LGTM!
7 years, 3 months ago (2013-08-28 12:34:41 UTC) #5
srdjan
LGTM with comment. https://codereview.chromium.org/23584002/diff/11001/runtime/vm/intermediate_language.cc File runtime/vm/intermediate_language.cc (right): https://codereview.chromium.org/23584002/diff/11001/runtime/vm/intermediate_language.cc#newcode1373 runtime/vm/intermediate_language.cc:1373: const Field* field = load_array->field(); 'field' ...
7 years, 3 months ago (2013-08-28 15:15:07 UTC) #6
Cutch
https://codereview.chromium.org/23584002/diff/11001/runtime/vm/intermediate_language.cc File runtime/vm/intermediate_language.cc (right): https://codereview.chromium.org/23584002/diff/11001/runtime/vm/intermediate_language.cc#newcode1373 runtime/vm/intermediate_language.cc:1373: const Field* field = load_array->field(); On 2013/08/28 15:15:08, srdjan ...
7 years, 3 months ago (2013-08-29 07:23:26 UTC) #7
Florian Schneider
On 2013/08/29 07:23:26, Cutch wrote: > https://codereview.chromium.org/23584002/diff/11001/runtime/vm/intermediate_language.cc > File runtime/vm/intermediate_language.cc (right): > > https://codereview.chromium.org/23584002/diff/11001/runtime/vm/intermediate_language.cc#newcode1373 > ...
7 years, 3 months ago (2013-08-29 08:35:15 UTC) #8
Cutch
7 years, 3 months ago (2013-09-09 05:48:12 UTC) #9
Message was sent while issue was closed.
Committed patchset #5 manually as r27280 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698