Index: src/full-codegen.h |
diff --git a/src/full-codegen.h b/src/full-codegen.h |
index 1439942db8ae33785ce817ba91d3c669e34cddf9..e44bfb2be50003e7b38ed1590fa84b41cf235e12 100644 |
--- a/src/full-codegen.h |
+++ b/src/full-codegen.h |
@@ -112,6 +112,12 @@ class FullCodeGenerator: public AstVisitor { |
// TODO(all): Copied ARM value. Check this is sensible for ARM64. |
static const int kCodeSizeMultiplier = 149; |
static const int kBootCodeSizeMultiplier = 110; |
+#elif V8_TARGET_ARCH_PPC64 |
+ static const int kCodeSizeMultiplier = 200; |
+ static const int kBootCodeSizeMultiplier = 120; |
+#elif V8_TARGET_ARCH_PPC |
+ static const int kCodeSizeMultiplier = 200; |
+ static const int kBootCodeSizeMultiplier = 120; |
#elif V8_TARGET_ARCH_MIPS |
static const int kCodeSizeMultiplier = 149; |
static const int kBootCodeSizeMultiplier = 120; |
@@ -330,12 +336,15 @@ class FullCodeGenerator: public AstVisitor { |
Label* if_true, |
Label* if_false, |
Label* fall_through); |
-#else // All non-mips arch. |
+#elif V8_TARGET_ARCH_PPC |
+ void Split(Condition cc, Label* if_true, Label* if_false, Label* fall_through, |
+ CRegister cr = cr7); |
+#else // All other arch. |
void Split(Condition cc, |
Label* if_true, |
Label* if_false, |
Label* fall_through); |
-#endif // V8_TARGET_ARCH_MIPS |
+#endif |
// Load the value of a known (PARAMETER, LOCAL, or CONTEXT) variable into |
// a register. Emits a context chain walk if if necessary (so does |