Skip to content

Conversation

bnoordhuis
Copy link
Member

@trevnorris
Copy link
Contributor

LGTM

@mscdex mscdex added the smalloc label Apr 29, 2015
The NODE_DEPRECATED macro was piggybacking on the V8_DEPRECATED macro
but that macro is silent unless V8_DEPRECATION_WARNINGS is defined,
something io.js doesn't do.  Ergo, no deprecation notices were being
issued.

PR-URL: nodejs#1565
Reviewed-By: Trevor Norris <[email protected]>
The previous commit enables deprecation warnings, this commit fixes
the handful of offending sites where the isolate was not explicitly
being passed around.

PR-URL: nodejs#1565
Reviewed-By: Trevor Norris <[email protected]>
Upcoming V8 changes will make it impossible to keep supporting the
smalloc functionality so deprecate the functions in smalloc.h now
and tell people to switch to typed arrays.

This commit shuffles code around in smalloc.cc to avoid generating
the deprecation warnings when building io.js itself.

PR-URL: nodejs#1565
Reviewed-By: Trevor Norris <[email protected]>
@bnoordhuis bnoordhuis force-pushed the deprecate-smalloc-functions branch from 18b2738 to 7306252 Compare April 29, 2015 23:06
@bnoordhuis bnoordhuis merged commit 7306252 into nodejs:master Apr 29, 2015
@bnoordhuis bnoordhuis deleted the deprecate-smalloc-functions branch April 29, 2015 23:06
@rvagg rvagg mentioned this pull request May 2, 2015
@bnoordhuis
Copy link
Member Author

@misterdjules You should probably cherry-pick 609fa0d into joyent/node; a bug in the NODE_DEPRECATED macro stops it from actually printing deprecation warnings.

@misterdjules
Copy link

@bnoordhuis Thanks for the heads up, it is very much appreciated 👍

Fishrock123 pushed a commit to Fishrock123/node that referenced this pull request May 19, 2015
The NODE_DEPRECATED macro was piggybacking on the V8_DEPRECATED macro
but that macro is silent unless V8_DEPRECATION_WARNINGS is defined,
something io.js doesn't do.  Ergo, no deprecation notices were being
issued.

PR-URL: nodejs#1565
Reviewed-By: Trevor Norris <[email protected]>
Fishrock123 pushed a commit to Fishrock123/node that referenced this pull request May 19, 2015
The previous commit enables deprecation warnings, this commit fixes
the handful of offending sites where the isolate was not explicitly
being passed around.

PR-URL: nodejs#1565
Reviewed-By: Trevor Norris <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants