| Index: src/x64/full-codegen-x64.cc
|
| ===================================================================
|
| --- src/x64/full-codegen-x64.cc (revision 6095)
|
| +++ src/x64/full-codegen-x64.cc (working copy)
|
| @@ -200,6 +200,11 @@
|
| }
|
|
|
|
|
| +void FullCodeGenerator::ClearAccumulator() {
|
| + __ xor_(rax, rax);
|
| +}
|
| +
|
| +
|
| void FullCodeGenerator::EmitStackCheck(IterationStatement* stmt) {
|
| Comment cmnt(masm_, "[ Stack check");
|
| NearLabel ok;
|
| @@ -3344,7 +3349,7 @@
|
|
|
| case Token::INSTANCEOF: {
|
| VisitForStackValue(expr->right());
|
| - InstanceofStub stub;
|
| + InstanceofStub stub(InstanceofStub::kNoFlags);
|
| __ CallStub(&stub);
|
| __ testq(rax, rax);
|
| // The stub returns 0 for true.
|
|
|