Skip to content

Commit

Permalink
deps: update v8.gyp and run Torque
Browse files Browse the repository at this point in the history
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 <info@bnoordhuis.nl>
Co-Authored-By: Refael Ackermann <refack@gmail.com>
  • Loading branch information
3 people committed Jul 13, 2018
1 parent de642c4 commit 52de7f9
Show file tree
Hide file tree
Showing 3 changed files with 488 additions and 31 deletions.
2 changes: 1 addition & 1 deletion common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

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

# Enable disassembler for `--print-code` v8 options
'v8_enable_disassembler': 1,
Expand Down
2 changes: 1 addition & 1 deletion deps/v8/gypfiles/toolchain.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -1127,7 +1127,7 @@
'ldflags': [ '-Wl,-bmaxdata:0x60000000/dsa' ],
}],
[ 'v8_target_arch=="ppc64"', {
'cflags': [ '-maix64' ],
'cflags': [ '-maix64', '-fdollars-in-identifiers' ],
'ldflags': [ '-maix64 -Wl,-bbigtoc' ],
}],
],
Expand Down
Loading

0 comments on commit 52de7f9

Please sign in to comment.