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

Issue 122035: Inline keyed stores if the code is in a loop and the key is likely to... (Closed)

Created:
11 years, 6 months ago by Mads Ager (chromium)
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Inline keyed stores if the code is in a loop and the key is likely to be a smi. The inlined version works for stores to JSArrays where the key is a smi that is within bounds of the array and the value is either constant or a smi so we can skip the write-barrier. Committed: http://code.google.com/p/v8/source/detail?r=2144

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 4

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -7 lines) Patch
M src/ia32/codegen-ia32.cc View 1 2 5 chunks +128 lines, -6 lines 0 comments Download
M src/objects.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/v8-counters.h View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Mads Ager (chromium)
11 years, 6 months ago (2009-06-11 12:36:44 UTC) #1
Kevin Millikin (Chromium)
Some comments to address, but after that LGTM. http://codereview.chromium.org/122035/diff/13/15 File src/ia32/codegen-ia32.cc (right): http://codereview.chromium.org/122035/diff/13/15#newcode6039 Line 6039: ...
11 years, 6 months ago (2009-06-11 13:05:27 UTC) #2
Mads Ager (chromium)
11 years, 6 months ago (2009-06-11 13:10:57 UTC) #3
On 2009/06/11 13:05:27, Kevin Millikin wrote:
> Some comments to address, but after that LGTM.

Great comments, thanks.  All done.

Powered by Google App Engine
This is Rietveld 408576698