Commit 83a1b8b
committed
src: remove misplaced windows code under posix guard in node.cc
The V8 WebAssembly trap handler setup for Windows was incorrectly
nested within a POSIX conditional compilation block in src/node.cc.
This caused the related functions to be effectively non-operational
on Windows. The changes involve removing the Windows-specific code from
the POSIX section and correctly placing it under the WIN32 checks.
This fix will ensure that the intended exception handling is active on
Windows builds, potentially improving WebAssembly performance.
Fixes: nodejs#52404
Refs: nodejs#350331 parent 68f9e1f commit 83a1b8b
1 file changed
+5
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
438 | 443 | | |
439 | 444 | | |
440 | 445 | | |
| |||
635 | 640 | | |
636 | 641 | | |
637 | 642 | | |
638 | | - | |
639 | | - | |
640 | | - | |
641 | | - | |
642 | | - | |
643 | | - | |
644 | | - | |
645 | | - | |
646 | | - | |
647 | | - | |
648 | | - | |
649 | 643 | | |
650 | 644 | | |
651 | 645 | | |
| |||
657 | 651 | | |
658 | 652 | | |
659 | 653 | | |
660 | | - | |
661 | 654 | | |
662 | 655 | | |
663 | 656 | | |
| |||
0 commit comments