| Index: src/mips64/full-codegen-mips64.cc
|
| diff --git a/src/mips64/full-codegen-mips64.cc b/src/mips64/full-codegen-mips64.cc
|
| index 0e3f0725e6360671947716dd01174da5575199b0..d2eb9dcec2ba5f2626752e8fb422b5af3b72da06 100644
|
| --- a/src/mips64/full-codegen-mips64.cc
|
| +++ b/src/mips64/full-codegen-mips64.cc
|
| @@ -4805,10 +4805,13 @@ void FullCodeGenerator::VisitUnaryOperation(UnaryOperation* expr) {
|
|
|
| case Token::TYPEOF: {
|
| Comment cmnt(masm_, "[ UnaryOperation (TYPEOF)");
|
| - { StackValueContext context(this);
|
| + {
|
| + AccumulatorValueContext context(this);
|
| VisitForTypeofValue(expr->expression());
|
| }
|
| - __ CallRuntime(Runtime::kTypeof, 1);
|
| + __ mov(a3, v0);
|
| + TypeofStub typeof_stub(isolate());
|
| + __ CallStub(&typeof_stub);
|
| context()->Plug(v0);
|
| break;
|
| }
|
|
|