Skip to content

Commit 686b685

Browse files
targosbnoordhuisrefack
committed
deps: update v8.gyp and run Torque
Synchronize source files list with upstream's BUILD.gn. Teach v8.gyp to build and run torque, V8's DSL for generating builtins. On Windows, the torque binary needs to be compiled and linked with exception semantics and assume V8 is embedded. Fixes: nodejs/node-v8#57 Co-Authored-By: Ben Noordhuis <[email protected]> Co-Authored-By: Refael Ackermann <[email protected]>
1 parent 47f5573 commit 686b685

File tree

3 files changed

+488
-31
lines changed

3 files changed

+488
-31
lines changed

common.gypi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
# Reset this number to 0 on major V8 upgrades.
3030
# Increment by one for each non-official patch applied to deps/v8.
31-
'v8_embedder_string': '-node.0',
31+
'v8_embedder_string': '-node.1',
3232

3333
# Enable disassembler for `--print-code` v8 options
3434
'v8_enable_disassembler': 1,

deps/v8/gypfiles/toolchain.gypi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1127,7 +1127,7 @@
11271127
'ldflags': [ '-Wl,-bmaxdata:0x60000000/dsa' ],
11281128
}],
11291129
[ 'v8_target_arch=="ppc64"', {
1130-
'cflags': [ '-maix64' ],
1130+
'cflags': [ '-maix64', '-fdollars-in-identifiers' ],
11311131
'ldflags': [ '-maix64 -Wl,-bbigtoc' ],
11321132
}],
11331133
],

0 commit comments

Comments
 (0)