mirror of
https://git.freebsd.org/ports.git
synced 2025-06-17 18:50:33 -04:00
Changelog: https://chromium.googlesource.com/chromium/src/+log/75.0.3770.142..76.0.3809.100?pretty=fuller&n=10000 Submitted by: Matthias Wolf <matthias@rheinwolf.de> MFH: 2019Q3
20 lines
727 B
C++
20 lines
727 B
C++
--- v8/src/api/api.cc.orig 2019-07-24 19:03:36 UTC
|
|
+++ v8/src/api/api.cc
|
|
@@ -110,7 +110,7 @@
|
|
#include "src/wasm/wasm-result.h"
|
|
#include "src/wasm/wasm-serialization.h"
|
|
|
|
-#if V8_OS_LINUX || V8_OS_MACOSX
|
|
+#if V8_OS_LINUX || V8_OS_MACOSX || V8_OS_OPENBSD || V8_OS_FREEBSD
|
|
#include <signal.h>
|
|
#include "include/v8-wasm-trap-handler-posix.h"
|
|
#include "src/trap-handler/handler-inside-posix.h"
|
|
@@ -5505,7 +5505,7 @@ bool v8::V8::Initialize() {
|
|
return true;
|
|
}
|
|
|
|
-#if V8_OS_LINUX || V8_OS_MACOSX
|
|
+#if V8_OS_LINUX || V8_OS_MACOSX || V8_OS_OPENBSD || V8_OS_FREEBSD
|
|
bool TryHandleWebAssemblyTrapPosix(int sig_code, siginfo_t* info,
|
|
void* context) {
|
|
#if V8_TARGET_ARCH_X64 && !V8_OS_ANDROID
|