Index: src/crankshaft/hydrogen-instructions.h |
diff --git a/src/crankshaft/hydrogen-instructions.h b/src/crankshaft/hydrogen-instructions.h |
index 196a14fc705533c86e6cbf1ccf1ae10941606ee4..d4c36d8625d8a0627234547ad069e34b1b5e542a 100644 |
--- a/src/crankshaft/hydrogen-instructions.h |
+++ b/src/crankshaft/hydrogen-instructions.h |
@@ -2498,7 +2498,7 @@ class HUnaryMathOperation final : public HTemplateInstruction<2> { |
// Indicates if we support a double (and int32) output for Math.floor and |
// Math.round. |
bool SupportsFlexibleFloorAndRound() const { |
-#if V8_TARGET_ARCH_ARM64 |
+#if V8_TARGET_ARCH_ARM64 || V8_TARGET_ARCH_PPC |
return true; |
#elif V8_TARGET_ARCH_IA32 || V8_TARGET_ARCH_X64 |
return CpuFeatures::IsSupported(SSE4_1); |