[dict-proto] Fix cross platform build failure caused by swiss tables

This fixes a build failure when compiling swiss-hash-table-helpers.h
on an SSE platform for a non-SSE target.

Change-Id: Ifc9bfc6b31d84d0e5dcc544a8eee8d6ea6e0cd12
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2704675
Reviewed-by: Igor Sheludko <ishell@chromium.org>
Commit-Queue: Frank Emrich <emrich@google.com>
Cr-Commit-Position: refs/heads/master@{#72868}
This commit is contained in:
Frank Emrich 2021-02-19 14:05:26 +01:00 committed by Commit Bot
parent a786179c47
commit 6253320cd0

View File

@ -44,7 +44,8 @@
#endif
#ifndef SWISS_TABLE_HAVE_SSSE3
#ifdef __SSSE3__
#if defined(__SSSE3__) && \
(defined(V8_TARGET_ARCH_IA32) || defined(V8_TARGET_ARCH_X64))
#define SWISS_TABLE_HAVE_SSSE3 1
#else
#define SWISS_TABLE_HAVE_SSSE3 0