Commit 92ad6fcb authored by Simon Zünd's avatar Simon Zünd Committed by Commit Bot

[cleanup] Only include halfsiphash.h when libsiphash is used

R=yangguo@chromium.org

Change-Id: If4c158e339b603268563223d900e6879f43ec63b
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1725611
Commit-Queue: Simon Zünd <szuend@chromium.org>
Commit-Queue: Yang Guo <yangguo@chromium.org>
Auto-Submit: Simon Zünd <szuend@chromium.org>
Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#62971}
parent 4564f296
...@@ -20,10 +20,13 @@ ...@@ -20,10 +20,13 @@
#include "src/base/platform/platform.h" #include "src/base/platform/platform.h"
#include "src/base/v8-fallthrough.h" #include "src/base/v8-fallthrough.h"
#include "src/common/globals.h" #include "src/common/globals.h"
#include "src/third_party/siphash/halfsiphash.h"
#include "src/utils/allocation.h" #include "src/utils/allocation.h"
#include "src/utils/vector.h" #include "src/utils/vector.h"
#if defined(V8_USE_SIPHASH)
#include "src/third_party/siphash/halfsiphash.h"
#endif
#if defined(V8_OS_AIX) #if defined(V8_OS_AIX)
#include <fenv.h> // NOLINT(build/c++11) #include <fenv.h> // NOLINT(build/c++11)
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment