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

Issue 491863002: Don't inline Array.shift() if receiver map is not extensible. (Closed)

Created:
6 years, 4 months ago by Benedikt Meurer
Modified:
6 years, 4 months ago
Reviewers:
Jarin, Toon Verwaest
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

Don't inline Array.shift() if receiver map is not extensible. TEST=mjsunit/regress/regress-crbug-405517 BUG=405517 LOG=y R=jarin@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=23255

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -3 lines) Patch
M src/hydrogen.cc View 1 chunk +1 line, -1 line 1 comment Download
A + test/mjsunit/regress/regress-crbug-405517.js View 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Benedikt Meurer
PTAL
6 years, 4 months ago (2014-08-20 13:36:32 UTC) #1
Toon Verwaest
https://codereview.chromium.org/491863002/diff/1/src/hydrogen.cc File src/hydrogen.cc (right): https://codereview.chromium.org/491863002/diff/1/src/hydrogen.cc#newcode8337 src/hydrogen.cc:8337: if (!receiver_map->is_extensible()) return false; Please also change kArrayPush etc ...
6 years, 4 months ago (2014-08-20 13:39:43 UTC) #2
Benedikt Meurer
Cannot reproduce with push or pop, deopts properly.
6 years, 4 months ago (2014-08-21 04:44:06 UTC) #3
Jarin
lgtm
6 years, 4 months ago (2014-08-21 06:22:12 UTC) #4
Benedikt Meurer
6 years, 4 months ago (2014-08-21 06:23:52 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 manually as 23255 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698