Uh oh!
There was an error while loading. Please reload this page.
deps: patch the V8 API to be forward compatible with 6.7 - #19999
deps: patch the V8 API to be forward compatible with 6.7#19999psmarshall wants to merge 1 commit into
Conversation
targos
commented
Apr 13, 2018
Thanks! Can you please:
|
Diff: https://gist.github.com/targos/5b700e76921be024a7ea06127953cf93 Edit: to be clear, this is the output of |
targos
commented
Apr 13, 2018
Is this part OK? https://gist.github.com/targos/5b700e76921be024a7ea06127953cf93#file-v8-6-7-abi-patch-diff-L347-L364 @@ -6193,24 +6263,6 @@ typedef void* (*CreateHistogramCallback)(const char* name,
typedef void (*AddHistogramSampleCallback)(void* histogram, int sample);
-// --- Memory Allocation Callback ----enum ObjectSpace {- kObjectSpaceNewSpace = 1 << 0,- kObjectSpaceOldSpace = 1 << 1,- kObjectSpaceCodeSpace = 1 << 2,- kObjectSpaceMapSpace = 1 << 3,- kObjectSpaceLoSpace = 1 << 4,- kObjectSpaceAll = kObjectSpaceNewSpace | kObjectSpaceOldSpace |- kObjectSpaceCodeSpace | kObjectSpaceMapSpace |- kObjectSpaceLoSpace-};-- enum AllocationAction {- kAllocationActionAllocate = 1 << 0,- kAllocationActionFree = 1 << 1,- kAllocationActionAll = kAllocationActionAllocate | kAllocationActionFree- };-
// --- Enter/Leave Script Callback ---
typedef void (*BeforeCallEnteredCallback)(Isolate*);
typedef void (*CallCompletedCallback)(Isolate*); |
3b7202a to
92ed818Comparepsmarshall
commented
Apr 13, 2018
I amended the commit with the version number increments. I think it's OK to leave the |
bnoordhuis
commented
Apr 13, 2018
Probably missing an |
92ed818 to
61fa424Comparepsmarshall
commented
Apr 13, 2018
Updated it with the include, thanks |
| virtual size_t NumberOfAvailableBackgroundThreads() { return 0; } | ||
| V8_DEPRECATE_SOON( | ||
| "NumberOfAvailableBackgroundThreads() is deprecated, use " | ||
| "NumberOfAvailableBackgroundThreads() instead.", |
There was a problem hiding this comment.
This is supposed to say NumberOfWorkerThreads(), right? Not that it matters much, but the message might be … confusing? 😄
There was a problem hiding this comment.
This typo is still present in V8 master, so should be fixed there first.
MylesBorins
commented
Apr 14, 2018
Do we want to land this on master or on 10.x-staging? |
targos
commented
Apr 14, 2018
Why not on master? |
addaleax
commented
Apr 14, 2018
The last time around we didn’t land it on master, but I agree that I don’t really see a problem with doing so. |
If this is going directly to 10.x-staging, please allow me to land it as part of the next round of updates that I make to that. If it lands in master, I'll cherry-pick it back. |
targos
commented
Apr 17, 2018
CI is green. I'm going to land this on master if there are no objections. That way we can immediately work on replacing our usage of deprecated APIs |
jasnell
commented
Apr 17, 2018
@targos ... if you can, please land this today before noon pacific so I can make sure it is in today's 10.0.0 test build. |
targos
commented
Apr 17, 2018
This has to land after #20105. I won't be around soon enough to do it myself. |
MylesBorins
commented
Apr 17, 2018
landed in 8bcefd0 |
PR-URL: #19999 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Yang Guo <yangguo@chromium.org> Reviewed-By: Michaël Zasso <targos@protonmail.com>
PR-URL: #19999 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Yang Guo <yangguo@chromium.org> Reviewed-By: Michaël Zasso <targos@protonmail.com>
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes@addaleax@MylesBorins