-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1032 from nxhack/dev
node: bump to 16.11.0
- Loading branch information
Showing
6 changed files
with
39 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
node/patches/v16.x/999-deps-v8-src-trap-handler-trap-handler.h.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- a/deps/v8/src/trap-handler/trap-handler.h | ||
+++ b/deps/v8/src/trap-handler/trap-handler.h | ||
@@ -17,19 +17,16 @@ namespace v8 { | ||
namespace internal { | ||
namespace trap_handler { | ||
|
||
-// X64 on Linux, Windows, MacOS, FreeBSD. | ||
-#if V8_HOST_ARCH_X64 && V8_TARGET_ARCH_X64 && \ | ||
- ((V8_OS_LINUX && !V8_OS_ANDROID) || V8_OS_WIN || V8_OS_MACOSX || \ | ||
- V8_OS_FREEBSD) | ||
+#if V8_TARGET_ARCH_X64 && V8_OS_LINUX && !V8_OS_ANDROID | ||
#define V8_TRAP_HANDLER_SUPPORTED true | ||
-// Arm64 (non-simulator) on Mac. | ||
-#elif V8_TARGET_ARCH_ARM64 && V8_HOST_ARCH_ARM64 && V8_OS_MACOSX | ||
+#elif V8_TARGET_ARCH_X64 && V8_OS_WIN | ||
#define V8_TRAP_HANDLER_SUPPORTED true | ||
-// Arm64 simulator on x64 on Linux or Mac. | ||
-#elif V8_TARGET_ARCH_ARM64 && V8_HOST_ARCH_X64 && (V8_OS_LINUX || V8_OS_MACOSX) | ||
-#define V8_TRAP_HANDLER_VIA_SIMULATOR | ||
+#elif V8_TARGET_ARCH_X64 && V8_OS_MACOSX | ||
+#define V8_TRAP_HANDLER_SUPPORTED true | ||
+#elif V8_TARGET_ARCH_X64 && V8_OS_FREEBSD | ||
+#define V8_TRAP_HANDLER_SUPPORTED true | ||
+#elif V8_HOST_ARCH_ARM64 && V8_TARGET_ARCH_ARM64 && V8_OS_MACOSX | ||
#define V8_TRAP_HANDLER_SUPPORTED true | ||
-// Everything else is unsupported. | ||
#else | ||
#define V8_TRAP_HANDLER_SUPPORTED false | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters