Skip to content

Commit cba2d3e

Browse files
targosbnoordhuisrefack
authored andcommitted
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: #57 Co-Authored-By: Ben Noordhuis <[email protected]> Co-Authored-By: Refael Ackermann <[email protected]>
1 parent 004371f commit cba2d3e

File tree

3 files changed

+488
-31
lines changed

3 files changed

+488
-31
lines changed

common.gypi

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

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

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

deps/v8/gypfiles/toolchain.gypi

+1-1
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)