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

Issue 11299004: Use the property load IC for accessing the array length. (Closed)

Created:
8 years, 1 month ago by Massi
Modified:
5 years ago
Reviewers:
Jakob Kummerow
CC:
v8-dev
Visibility:
Public.

Description

Use the property load IC for accessing the array length. BUG=

Patch Set 1 #

Total comments: 13

Patch Set 2 : Ignore element transitions in map check where appropriate and address code review comments. #

Patch Set 3 : Fixed embarrassing bug. #

Patch Set 4 : Added comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+145 lines, -43 lines) Patch
M src/arm/lithium-codegen-arm.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M src/hydrogen.cc View 1 2 3 2 chunks +66 lines, -13 lines 0 comments Download
M src/hydrogen-instructions.h View 1 4 chunks +6 lines, -2 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/ic.cc View 1 2 2 chunks +11 lines, -20 lines 0 comments Download
M src/mips/lithium-codegen-mips.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M src/objects.h View 1 2 chunks +6 lines, -0 lines 0 comments Download
M src/objects-inl.h View 1 chunk +5 lines, -0 lines 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M test/mjsunit/array-length.js View 1 2 chunks +41 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
Jakob Kummerow
https://chromiumcodereview.appspot.com/11299004/diff/1/src/hydrogen.cc File src/hydrogen.cc (right): https://chromiumcodereview.appspot.com/11299004/diff/1/src/hydrogen.cc#newcode6669 src/hydrogen.cc:6669: fast_mode = false; Why do you always set this ...
8 years, 1 month ago (2012-11-16 12:57:10 UTC) #1
Massi
I had to add changes to ignore element transitions in map check where "appropriate" (where ...
8 years, 1 month ago (2012-11-19 12:26:15 UTC) #2
Jakob Kummerow
LGTM with a nit. https://chromiumcodereview.appspot.com/11299004/diff/1/src/hydrogen.cc File src/hydrogen.cc (right): https://chromiumcodereview.appspot.com/11299004/diff/1/src/hydrogen.cc#newcode6669 src/hydrogen.cc:6669: fast_mode = false; On 2012/11/19 ...
8 years, 1 month ago (2012-11-19 12:58:47 UTC) #3
Massi
Addressed review comments and fixed a bug.
8 years, 1 month ago (2012-11-21 10:26:17 UTC) #4
Jakob Kummerow
8 years, 1 month ago (2012-11-21 12:13:39 UTC) #5
lgtm

Powered by Google App Engine
This is Rietveld 408576698