Index: src/full-codegen.h |
diff --git a/src/full-codegen.h b/src/full-codegen.h |
index 6814946529b5f3aad13af1a78b238e74c2b181ba..77f1b6efb734494288346be753e58c4206976cbe 100644 |
--- a/src/full-codegen.h |
+++ b/src/full-codegen.h |
@@ -112,6 +112,14 @@ 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 |
+ // TODO(all): Check this is sensible for PPC64. |
+ static const int kCodeSizeMultiplier = 142; |
+ static const int kBootCodeSizeMultiplier = 175; |
+#elif V8_TARGET_ARCH_PPC |
+ // TODO(all): Check this is sensible for PPC. |
+ static const int kCodeSizeMultiplier = 142; |
+ static const int kBootCodeSizeMultiplier = 130; |
#elif V8_TARGET_ARCH_MIPS |
static const int kCodeSizeMultiplier = 149; |
static const int kBootCodeSizeMultiplier = 120; |
@@ -330,12 +338,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 |