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

Issue 2551763003: v8::Private::ForApi should be context-independent. (Closed)

Created:
4 years ago by Yang
Modified:
4 years ago
CC:
Hannes Payer (out of office), ulan, v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

v8::Private::ForApi should be context-independent. This is done by reimplementing Symbol.for directly on top of NameDictionary. A nice side effect is the removal of src/js/symbol.js R=jochen@chromium.org, peria@chromium.org BUG=chromium:617892 Committed: https://crrev.com/d26cdb7d6f0b327c15cdb866dafbc21c29a65d4d Cr-Commit-Position: refs/heads/master@{#41520}

Patch Set 1 #

Total comments: 4

Patch Set 2 : address comments #

Patch Set 3 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+149 lines, -176 lines) Patch
M BUILD.gn View 1 1 chunk +0 lines, -1 line 0 comments Download
M src/api.cc View 1 2 chunks +6 lines, -30 lines 0 comments Download
M src/bootstrapper.cc View 1 3 chunks +44 lines, -30 lines 0 comments Download
M src/builtins/builtins.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M src/builtins/builtins-symbol.cc View 1 chunk +32 lines, -0 lines 0 comments Download
M src/heap-symbols.h View 1 2 chunks +0 lines, -3 lines 0 comments Download
M src/heap/heap.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M src/heap/heap.cc View 4 chunks +7 lines, -4 lines 0 comments Download
M src/isolate.h View 1 3 chunks +3 lines, -5 lines 0 comments Download
M src/isolate.cc View 1 2 1 chunk +30 lines, -24 lines 0 comments Download
D src/js/symbol.js View 1 chunk +0 lines, -68 lines 0 comments Download
M src/objects.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M src/objects-inl.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/runtime/runtime.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M src/runtime/runtime-symbol.cc View 1 chunk +0 lines, -7 lines 0 comments Download
M src/v8.gyp View 1 1 chunk +0 lines, -1 line 0 comments Download
M test/cctest/test-api.cc View 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (11 generated)
Yang
4 years ago (2016-12-05 13:34:20 UTC) #1
jochen (gone - plz use gerrit)
lgtm I wonder whether the builtins should be TF stubs? not sure how often we ...
4 years ago (2016-12-05 13:37:36 UTC) #2
Yang
On 2016/12/05 13:37:36, jochen wrote: > lgtm > > I wonder whether the builtins should ...
4 years ago (2016-12-05 13:49:37 UTC) #5
jochen (gone - plz use gerrit)
ok, lgtm stands
4 years ago (2016-12-05 15:21:44 UTC) #8
peria
Thank you for this work! LGTM you can commit it ignoring my comments on files. ...
4 years ago (2016-12-06 05:12:36 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2551763003/20001
4 years ago (2016-12-06 10:43:25 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_gyp_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_gyp_rel_ng/builds/9201)
4 years ago (2016-12-06 10:50:15 UTC) #14
Yang
https://codereview.chromium.org/2551763003/diff/1/src/heap/heap.h File src/heap/heap.h (right): https://codereview.chromium.org/2551763003/diff/1/src/heap/heap.h#newcode202 src/heap/heap.h:202: V(NameDictionary, public_symbol_table, PublicSymbolTable) \ On 2016/12/06 05:12:36, peria wrote: ...
4 years ago (2016-12-06 12:53:07 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2551763003/40001
4 years ago (2016-12-06 12:53:18 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-12-06 13:21:26 UTC) #20
commit-bot: I haz the power
4 years ago (2016-12-06 13:21:49 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d26cdb7d6f0b327c15cdb866dafbc21c29a65d4d
Cr-Commit-Position: refs/heads/master@{#41520}

Powered by Google App Engine
This is Rietveld 408576698