| Index: src/interpreter/interpreter.cc
|
| diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc
|
| index 43a7ead2810e1463b9d9f63210aac2c007789f58..293f368d6660fd24c4180446b7f10bd4e2dfb47c 100644
|
| --- a/src/interpreter/interpreter.cc
|
| +++ b/src/interpreter/interpreter.cc
|
| @@ -897,10 +897,12 @@ void Interpreter::DoLogicalNot(InterpreterAssembler* assembler) {
|
| // Load the accumulator with the string representating type of the
|
| // object in the accumulator.
|
| void Interpreter::DoTypeOf(InterpreterAssembler* assembler) {
|
| + Callable callable = CodeFactory::Typeof(isolate_);
|
| + Node* target = __ HeapConstant(callable.code());
|
| Node* accumulator = __ GetAccumulator();
|
| Node* context = __ GetContext();
|
| Node* result =
|
| - __ CallRuntime(Runtime::kInterpreterTypeOf, context, accumulator);
|
| + __ CallStub(callable.descriptor(), target, context, accumulator);
|
| __ SetAccumulator(result);
|
| __ Dispatch();
|
| }
|
|
|