| Index: src/mips/codegen-mips-inl.h
|
| diff --git a/src/mips/codegen-mips-inl.h b/src/mips/codegen-mips-inl.h
|
| index 3a511b80f7be9218a09ba5aa53b0fb7ef104446b..be9ae9eda3447b5018282b822833aa7f1f3480a7 100644
|
| --- a/src/mips/codegen-mips-inl.h
|
| +++ b/src/mips/codegen-mips-inl.h
|
| @@ -29,6 +29,8 @@
|
| #ifndef V8_MIPS_CODEGEN_MIPS_INL_H_
|
| #define V8_MIPS_CODEGEN_MIPS_INL_H_
|
|
|
| +#include "virtual-frame-mips.h"
|
| +
|
| namespace v8 {
|
| namespace internal {
|
|
|
| @@ -42,23 +44,15 @@ void DeferredCode::Jump() {
|
| }
|
|
|
|
|
| -void Reference::GetValueAndSpill() {
|
| - GetValue();
|
| -}
|
| -
|
| -
|
| -void CodeGenerator::VisitAndSpill(Statement* statement) {
|
| - Visit(statement);
|
| +// Note: this has been hacked for submisson. Mips branches require two
|
| +// additional operands: Register src1, const Operand& src2.
|
| +void DeferredCode::Branch(Condition cond) {
|
| + __ Branch(&entry_label_, cond, zero_reg, Operand(0));
|
| }
|
|
|
|
|
| -void CodeGenerator::VisitStatementsAndSpill(ZoneList<Statement*>* statements) {
|
| - VisitStatements(statements);
|
| -}
|
| -
|
| -
|
| -void CodeGenerator::LoadAndSpill(Expression* expression) {
|
| - Load(expression);
|
| +void Reference::GetValueAndSpill() {
|
| + GetValue();
|
| }
|
|
|
|
|
|
|