Fix Android x64 build
Android sets both V8_OS_ANDROID and V8_OS_LINUX. For the Wasm trap handler, the difference between these OSes matters. BUG= chromium:701590 Change-Id: I5ae703a1d932c8a63e499ad39a057ad1871a2ab1 Reviewed-on: https://chromium-review.googlesource.com/455556 Commit-Queue: Eric Holk <eholk@chromium.org> Commit-Queue: Brad Nelson <bradnelson@chromium.org> Reviewed-by: Brad Nelson <bradnelson@chromium.org> Cr-Commit-Position: refs/heads/master@{#43807}
This commit is contained in:
parent
b7648be7ec
commit
3a5262ec08
@ -22,7 +22,7 @@ namespace internal {
|
||||
namespace trap_handler {
|
||||
|
||||
// TODO(eholk): Support trap handlers on other platforms.
|
||||
#if V8_TARGET_ARCH_X64 && V8_OS_LINUX
|
||||
#if V8_TARGET_ARCH_X64 && V8_OS_LINUX && !V8_OS_ANDROID
|
||||
#define V8_TRAP_HANDLER_SUPPORTED 1
|
||||
#else
|
||||
#define V8_TRAP_HANDLER_SUPPORTED 0
|
||||
|
Loading…
Reference in New Issue
Block a user