| Index: src/arm/full-codegen-arm.cc
|
| ===================================================================
|
| --- src/arm/full-codegen-arm.cc (revision 6095)
|
| +++ src/arm/full-codegen-arm.cc (working copy)
|
| @@ -209,6 +209,11 @@
|
| }
|
|
|
|
|
| +void FullCodeGenerator::ClearAccumulator() {
|
| + __ mov(r0, Operand(Smi::FromInt(0)));
|
| +}
|
| +
|
| +
|
| void FullCodeGenerator::EmitStackCheck(IterationStatement* stmt) {
|
| Comment cmnt(masm_, "[ Stack check");
|
| Label ok;
|
| @@ -3440,7 +3445,7 @@
|
|
|
| case Token::INSTANCEOF: {
|
| VisitForStackValue(expr->right());
|
| - InstanceofStub stub;
|
| + InstanceofStub stub(InstanceofStub::kNoFlags);
|
| __ CallStub(&stub);
|
| PrepareForBailoutBeforeSplit(TOS_REG, true, if_true, if_false);
|
| // The stub returns 0 for true.
|
|
|