diff --git a/test/cctest/compiler/call-tester.h b/test/cctest/compiler/call-tester.h index c75bde1e91..77d2ce1e95 100644 --- a/test/cctest/compiler/call-tester.h +++ b/test/cctest/compiler/call-tester.h @@ -106,12 +106,14 @@ struct ParameterTraits { static int64_t Cast(int32_t r) { return static_cast(r); } }; +#if !V8_TARGET_ARCH_PPC64 template <> struct ParameterTraits { static int64_t Cast(uint32_t r) { return static_cast(static_cast(r)); } }; +#endif #endif // !V8_TARGET_ARCH_64_BIT