Index: src/full-codegen.h |
diff --git a/src/full-codegen.h b/src/full-codegen.h |
index 859c342d970679a5b8d19348103e22713e097313..a5ce6a86f015e7ee5cebddbcd8127dbafe69cad6 100644 |
--- a/src/full-codegen.h |
+++ b/src/full-codegen.h |
@@ -300,10 +300,19 @@ class FullCodeGenerator: public AstVisitor { |
// Helper function to split control flow and avoid a branch to the |
// fall-through label if it is set up. |
+#ifdef V8_TARGET_ARCH_MIPS |
Søren Thygesen Gjesse
2011/05/17 10:24:34
We should avoid this type of #ifdef/#endif in arch
|
void Split(Condition cc, |
+ Register lhs, |
+ const Operand& rhs, |
Label* if_true, |
Label* if_false, |
Label* fall_through); |
+#else // All non-mips arch. |
+ void Split(Condition cc, |
+ Label* if_true, |
+ Label* if_false, |
+ Label* fall_through); |
+#endif // V8_TARGET_ARCH_MIPS |
void Move(Slot* dst, Register source, Register scratch1, Register scratch2); |
void Move(Register dst, Slot* source); |