summaryrefslogtreecommitdiff
path: root/www/node
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2021-10-26 12:39:58 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2021-10-26 12:39:58 +0000
commitb2a038ae70a41207451077c16b7ddb337ecdc2c1 (patch)
tree9138df849a393acf347dfaaa8ad258697d489aa3 /www/node
parentmail/usendmail: also enable on armv7 and riscv64 (diff)
www/node: enable sampler on powerpc64le
Diffstat (limited to 'www/node')
-rw-r--r--www/node/files/patch-deps_v8_src_libsampler_sampler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/node/files/patch-deps_v8_src_libsampler_sampler.cc b/www/node/files/patch-deps_v8_src_libsampler_sampler.cc
index 0e0a4c4e9fda..4a1f24a4a3c4 100644
--- a/www/node/files/patch-deps_v8_src_libsampler_sampler.cc
+++ b/www/node/files/patch-deps_v8_src_libsampler_sampler.cc
@@ -4,7 +4,7 @@
state->pc = reinterpret_cast<void*>(mcontext.__gregs[_REG_PC]);
state->sp = reinterpret_cast<void*>(mcontext.__gregs[_REG_SP]);
state->fp = reinterpret_cast<void*>(mcontext.__gregs[_REG_FP]);
-+#elif V8_TARGET_ARCH_PPC_BE
++#elif V8_TARGET_ARCH_PPC64
+ state->pc = reinterpret_cast<void*>(mcontext.mc_srr0);
+ state->sp = reinterpret_cast<void*>(mcontext.mc_frame[1]);
+ state->fp = reinterpret_cast<void*>(mcontext.mc_frame[31]);