Commit 44b9f84c authored by Junliang Yan's avatar Junliang Yan Committed by Commit Bot

PPC/s390: Fix native compilation failures on ppc

R=joransiu@ca.ibm.com

Drive-by: clean up the macro on s390x since it's not used.
Change-Id: I317508c1f8a1520ee8873b4323cacd63b8a7cce2
Reviewed-on: https://chromium-review.googlesource.com/c/1398121Reviewed-by: 's avatarJoran Siu <joransiu@ca.ibm.com>
Commit-Queue: Junliang Yan <jyan@ca.ibm.com>
Cr-Commit-Position: refs/heads/master@{#58599}
parent fc1b3d8c
......@@ -52,8 +52,6 @@
#include "src/ppc/constants-ppc.h"
#include "src/ppc/register-ppc.h"
#define INSTR_AND_DATA_CACHE_COHERENCY LWSYNC
namespace v8 {
namespace internal {
......
......@@ -8,6 +8,8 @@
#include "src/cpu-features.h"
#define INSTR_AND_DATA_CACHE_COHERENCY LWSYNC
namespace v8 {
namespace internal {
......@@ -44,4 +46,5 @@ void CpuFeatures::FlushICache(void* buffer, size_t size) {
} // namespace internal
} // namespace v8
#undef INSTR_AND_DATA_CACHE_COHERENCY
#endif // V8_TARGET_ARCH_PPC
......@@ -78,8 +78,6 @@
#define ABI_CALL_VIA_IP 1
#define INSTR_AND_DATA_CACHE_COHERENCY LWSYNC
namespace v8 {
namespace internal {
......
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