Skip to content

Commit 8471747

Browse files
committed
deps: patch V8 to 6.1.534.38
Created using the update-v8 npm module and the command `update-v8 minor`. Refs: v8/v8@6.1.534.36...6.1.534.38 Backport-PR-URL: #15393 PR-URL: #15431 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Ali Ijaz Sheikh <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Franziska Hinkelmann <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]>
1 parent 2e8652e commit 8471747

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

deps/v8/include/v8-version.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#define V8_MAJOR_VERSION 6
1212
#define V8_MINOR_VERSION 1
1313
#define V8_BUILD_NUMBER 534
14-
#define V8_PATCH_LEVEL 36
14+
#define V8_PATCH_LEVEL 38
1515

1616
// Use 1 for candidates and 0 otherwise.
1717
// (Boolean macro values are not supported by all preprocessors.)

deps/v8/src/flag-definitions.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ DEFINE_BOOL(wasm_disable_structured_cloning, false,
491491
"disable wasm structured cloning")
492492
DEFINE_INT(wasm_num_compilation_tasks, 10,
493493
"number of parallel compilation tasks for wasm")
494-
DEFINE_BOOL(wasm_async_compilation, true,
494+
DEFINE_BOOL(wasm_async_compilation, false,
495495
"enable actual asynchronous compilation for WebAssembly.compile")
496496
// Parallel compilation confuses turbo_stats, force single threaded.
497497
DEFINE_VALUE_IMPLICATION(turbo_stats, wasm_num_compilation_tasks, 0)

deps/v8/src/libsampler/sampler.cc

+7
Original file line numberDiff line numberDiff line change
@@ -450,11 +450,18 @@ void SignalHandler::FillRegisterState(void* context, RegisterState* state) {
450450
state->sp = reinterpret_cast<void*>(mcontext.gregs[29]);
451451
state->fp = reinterpret_cast<void*>(mcontext.gregs[30]);
452452
#elif V8_HOST_ARCH_PPC
453+
#if V8_LIBC_GLIBC
453454
state->pc = reinterpret_cast<void*>(ucontext->uc_mcontext.regs->nip);
454455
state->sp =
455456
reinterpret_cast<void*>(ucontext->uc_mcontext.regs->gpr[PT_R1]);
456457
state->fp =
457458
reinterpret_cast<void*>(ucontext->uc_mcontext.regs->gpr[PT_R31]);
459+
#else
460+
// Some C libraries, notably Musl, define the regs member as a void pointer
461+
state->pc = reinterpret_cast<void*>(ucontext->uc_mcontext.gp_regs[32]);
462+
state->sp = reinterpret_cast<void*>(ucontext->uc_mcontext.gp_regs[1]);
463+
state->fp = reinterpret_cast<void*>(ucontext->uc_mcontext.gp_regs[31]);
464+
#endif
458465
#elif V8_HOST_ARCH_S390
459466
#if V8_TARGET_ARCH_32_BIT
460467
// 31-bit target will have bit 0 (MSB) of the PSW set to denote addressing

0 commit comments

Comments
 (0)