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

Issue 1402973002: Move some code from Runtime_GetPrototype into a new Object::GetPrototype. (Closed)

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

Description

Move some code from Runtime_GetPrototype into a new Object::GetPrototype. Also clean up the access check, which was doing too much. This is in preparation of implementing Reflect.getPrototypeOf. BUG= Committed: https://crrev.com/33f1075933b30edf4d659d875d808efcdce2f4bf Cr-Commit-Position: refs/heads/master@{#31434}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Remove GetPrototypeWithAccess. #

Patch Set 3 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -39 lines) Patch
M src/objects.h View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M src/objects.cc View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
M src/objects-inl.h View 1 2 1 chunk +13 lines, -6 lines 0 comments Download
M src/runtime/runtime-debug.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/runtime/runtime-object.cc View 1 2 1 chunk +1 line, -16 lines 0 comments Download
M test/cctest/test-api.cc View 1 2 3 chunks +0 lines, -11 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
neis
https://codereview.chromium.org/1402973002/diff/1/src/runtime/runtime-debug.cc File src/runtime/runtime-debug.cc (right): https://codereview.chromium.org/1402973002/diff/1/src/runtime/runtime-debug.cc#newcode1455 src/runtime/runtime-debug.cc:1455: return *Object::GetPrototypeWithAccess(isolate, obj); Is it correct to not do ...
5 years, 2 months ago (2015-10-13 14:55:54 UTC) #2
Toon Verwaest
https://codereview.chromium.org/1402973002/diff/1/src/objects-inl.h File src/objects-inl.h (right): https://codereview.chromium.org/1402973002/diff/1/src/objects-inl.h#newcode1197 src/objects-inl.h:1197: Handle<Object> obj) { If you want to have such ...
5 years, 2 months ago (2015-10-14 10:56:18 UTC) #3
neis
On 2015/10/14 10:56:18, Toon Verwaest wrote: > https://codereview.chromium.org/1402973002/diff/1/src/objects-inl.h > File src/objects-inl.h (right): > > https://codereview.chromium.org/1402973002/diff/1/src/objects-inl.h#newcode1197 ...
5 years, 2 months ago (2015-10-14 13:39:37 UTC) #4
Toon Verwaest
lgtm
5 years, 2 months ago (2015-10-20 15:12:09 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1402973002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1402973002/40001
5 years, 2 months ago (2015-10-21 10:43:03 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-21 11:14:08 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1402973002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1402973002/40001
5 years, 2 months ago (2015-10-21 11:15:57 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 2 months ago (2015-10-21 11:17:16 UTC) #15
commit-bot: I haz the power
5 years, 2 months ago (2015-10-21 11:17:35 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/33f1075933b30edf4d659d875d808efcdce2f4bf
Cr-Commit-Position: refs/heads/master@{#31434}

Powered by Google App Engine
This is Rietveld 408576698