Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

src: upgrade to new v8::Private api #5045

Merged
merged 1 commit into from
Feb 3, 2016
Merged

Conversation

bnoordhuis
Copy link
Member

Stop using the deprecated GetHiddenValue() and SetHiddenValue()
methods, start using GetPrivate() and SetPrivate() instead.

This commit turns some of the entries in the per-isolate string table
into private symbols.

R=@cjihrig or @trevnorris

CI: https://ci.nodejs.org/job/node-test-pull-request/1518/

@mscdex mscdex added the v8 engine Issues and PRs related to the V8 dependency. label Feb 2, 2016
Stop using the deprecated `GetHiddenValue()` and `SetHiddenValue()`
methods, start using `GetPrivate()` and `SetPrivate()` instead.

This commit turns some of the entries in the per-isolate string table
into private symbols.

PR-URL: nodejs#5045
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
@trevnorris
Copy link
Contributor

LGTM. arm failure is unrelated.

@cjihrig
Copy link
Contributor

cjihrig commented Feb 3, 2016

LGTM. I guess that answers my question about using ForApi.

@bnoordhuis bnoordhuis closed this Feb 3, 2016
@bnoordhuis bnoordhuis deleted the new-v8-api branch February 3, 2016 08:43
@bnoordhuis bnoordhuis merged commit 924cc6c into nodejs:master Feb 3, 2016
@rvagg
Copy link
Member

rvagg commented Feb 8, 2016

can this go on v5.x? v4.x?

@bnoordhuis
Copy link
Member Author

The new APIs don't exist in V8 4.6 and older.

@targos
Copy link
Member

targos commented Feb 8, 2016

tagging as dont-land-on-... then

scovetta pushed a commit to scovetta/node that referenced this pull request Apr 2, 2016
Stop using the deprecated `GetHiddenValue()` and `SetHiddenValue()`
methods, start using `GetPrivate()` and `SetPrivate()` instead.

This commit turns some of the entries in the per-isolate string table
into private symbols.

PR-URL: nodejs#5045
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v8 engine Issues and PRs related to the V8 dependency.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants