Chromium Code Reviews| Index: src/codegen.h |
| =================================================================== |
| --- src/codegen.h (revision 3220) |
| +++ src/codegen.h (working copy) |
| @@ -85,6 +85,10 @@ |
| #include "x64/codegen-x64.h" |
| #elif V8_TARGET_ARCH_ARM |
| #include "arm/codegen-arm.h" |
| +#elif V8_TARGET_ARCH_MIPS |
| +#include "mips/codegen-mips.h" |
| +// Include the declaration of TestMIPSStub |
| +#include "mips/test-mips.h" |
| #else |
| #error Unsupported target architecture. |
| #endif |
| @@ -146,7 +150,12 @@ |
| #endif |
| inline void Jump(); |
| +#ifndef V8_TARGET_ARCH_MIPS |
|
Søren Thygesen Gjesse
2010/01/19 22:59:12
Having a platform specific #ifdef in a platform in
Alexandre
2010/01/22 23:08:42
This is necessary for MIPS. We don't have a cmp in
|
| inline void Branch(Condition cc); |
| +#else |
| + inline void Branch(Condition cc, Register src1 = zero_reg, |
|
Søren Thygesen Gjesse
2010/01/19 22:59:12
Look at http://google-styleguide.googlecode.com/sv
Alexandre
2010/01/22 23:08:42
Style issue fixed.
On 2010/01/19 22:59:12, Søren G
|
| + const Operand& src2 = Operand(zero_reg)); |
| +#endif |
| void BindExit() { masm_->bind(&exit_label_); } |
| void SaveRegisters(); |