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

Issue 1221303019: Fix keyed access of primitive objects in the runtime. (Closed)

Created:
5 years, 5 months ago by Toon Verwaest
Modified:
5 years, 5 months ago
Reviewers:
Igor Sheludko
CC:
v8-dev, Yang
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Fix keyed access of primitive objects in the runtime. For now it uses a pretty slow path for accessing strings by wrapping it into a new temporary wrapper. BUG=v8:4042, v8:3088 LOG=y Committed: https://crrev.com/1f2755bf35a98d0baefcbe6772c93ad1a7fc1901 Cr-Commit-Position: refs/heads/master@{#29576}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 2

Patch Set 5 : Addressed comment #

Patch Set 6 : Rebase + addressing comments #

Patch Set 7 : Fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -94 lines) Patch
M src/api.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/execution.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/ic/ic.cc View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M src/liveedit.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M src/liveedit.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M src/lookup.h View 1 2 3 4 5 6 3 chunks +4 lines, -3 lines 0 comments Download
M src/lookup.cc View 1 2 3 4 5 6 1 chunk +15 lines, -2 lines 0 comments Download
M src/objects.h View 2 chunks +4 lines, -4 lines 0 comments Download
M src/objects.cc View 1 2 3 4 1 chunk +0 lines, -10 lines 0 comments Download
M src/objects-inl.h View 1 chunk +8 lines, -0 lines 0 comments Download
M src/runtime/runtime.h View 1 chunk +0 lines, -9 lines 0 comments Download
M src/runtime/runtime-array.cc View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M src/runtime/runtime-debug.cc View 2 chunks +4 lines, -5 lines 0 comments Download
M src/runtime/runtime-object.cc View 5 chunks +6 lines, -33 lines 0 comments Download
M test/cctest/test-heap.cc View 4 chunks +6 lines, -6 lines 0 comments Download
A test/mjsunit/primitive-keyed-access.js View 1 chunk +43 lines, -0 lines 0 comments Download
M test/test262-es6/test262-es6.status View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M test/webkit/fast/js/primitive-property-access-edge-cases-expected.txt View 2 chunks +9 lines, -9 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
Toon Verwaest
ptal
5 years, 5 months ago (2015-07-08 15:50:11 UTC) #2
Igor Sheludko
Please update all the other calls to JSReceiver::SetElement() and JSObject::SetElement() with calls to Object::SetElement. lgtm ...
5 years, 5 months ago (2015-07-10 10:02:42 UTC) #3
Toon Verwaest
Addressed comments. I'm just passing in index with default MaxUInt32 and checking for that value, ...
5 years, 5 months ago (2015-07-10 15:23:28 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1221303019/90001
5 years, 5 months ago (2015-07-10 15:23:47 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_gcc_compile_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_gcc_compile_rel/builds/4281)
5 years, 5 months ago (2015-07-10 15:32:13 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1221303019/110001
5 years, 5 months ago (2015-07-10 15:44:41 UTC) #12
commit-bot: I haz the power
Committed patchset #7 (id:110001)
5 years, 5 months ago (2015-07-10 16:11:06 UTC) #13
commit-bot: I haz the power
5 years, 5 months ago (2015-07-10 16:11:17 UTC) #14
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/1f2755bf35a98d0baefcbe6772c93ad1a7fc1901
Cr-Commit-Position: refs/heads/master@{#29576}

Powered by Google App Engine
This is Rietveld 408576698