| Index: src/arm/codegen-arm.cc
|
| ===================================================================
|
| --- src/arm/codegen-arm.cc (revision 1913)
|
| +++ src/arm/codegen-arm.cc (working copy)
|
| @@ -441,16 +441,6 @@
|
| }
|
|
|
|
|
| -void CodeGenerator::LoadAndSpill(Expression* expression,
|
| - TypeofState typeof_state) {
|
| - ASSERT(in_spilled_code());
|
| - set_in_spilled_code(false);
|
| - Load(expression, typeof_state);
|
| - frame_->SpillAll();
|
| - set_in_spilled_code(true);
|
| -}
|
| -
|
| -
|
| void CodeGenerator::Load(Expression* x, TypeofState typeof_state) {
|
| #ifdef DEBUG
|
| int original_height = frame_->height();
|
| @@ -1115,28 +1105,6 @@
|
| }
|
|
|
|
|
| -void CodeGenerator::VisitAndSpill(Statement* statement) {
|
| - ASSERT(in_spilled_code());
|
| - set_in_spilled_code(false);
|
| - Visit(statement);
|
| - if (frame_ != NULL) {
|
| - frame_->SpillAll();
|
| - }
|
| - set_in_spilled_code(true);
|
| -}
|
| -
|
| -
|
| -void CodeGenerator::VisitStatementsAndSpill(ZoneList<Statement*>* statements) {
|
| - ASSERT(in_spilled_code());
|
| - set_in_spilled_code(false);
|
| - VisitStatements(statements);
|
| - if (frame_ != NULL) {
|
| - frame_->SpillAll();
|
| - }
|
| - set_in_spilled_code(true);
|
| -}
|
| -
|
| -
|
| void CodeGenerator::VisitStatements(ZoneList<Statement*>* statements) {
|
| #ifdef DEBUG
|
| int original_height = frame_->height();
|
|
|