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

Issue 674003002: SimpleSlice now calls [[Get]] before [[Has]] when generating copy (Closed)

Created:
6 years, 1 month ago by adamk
Modified:
6 years, 1 month ago
Reviewers:
Michael Starzinger
CC:
v8-dev, Toon Verwaest
Project:
v8
Visibility:
Public.

Description

SimpleSlice now calls [[Get]] before [[Has]] when generating copy SparseSlice does not need this (non-optimal) reordering since its callers guarantee that [[Get]] has no side effects on the passed-in array. BUG=v8:3643 LOG=n R=mstarzinger@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=24884

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -5 lines) Patch
M src/array.js View 1 chunk +2 lines, -5 lines 0 comments Download
A test/mjsunit/regress/regress-3643.js View 1 chunk +21 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
adamk
6 years, 1 month ago (2014-10-23 23:23:01 UTC) #2
Michael Starzinger
LGTM. Thanks!
6 years, 1 month ago (2014-10-24 08:06:06 UTC) #3
adamk
6 years, 1 month ago (2014-10-24 18:08:04 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as 24884 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698