| Index: src/crankshaft/x64/lithium-codegen-x64.cc
|
| diff --git a/src/crankshaft/x64/lithium-codegen-x64.cc b/src/crankshaft/x64/lithium-codegen-x64.cc
|
| index b0c10add4f3115cad40365ed4e172e95b6d4b21b..1b5fc0364b1cae1a853209b1682a1915f8682552 100644
|
| --- a/src/crankshaft/x64/lithium-codegen-x64.cc
|
| +++ b/src/crankshaft/x64/lithium-codegen-x64.cc
|
| @@ -5219,8 +5219,8 @@ void LCodeGen::DoTypeof(LTypeof* instr) {
|
| __ Move(rax, isolate()->factory()->number_string());
|
| __ jmp(&end);
|
| __ bind(&do_call);
|
| - TypeofStub stub(isolate());
|
| - CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr);
|
| + Callable callable = CodeFactory::Typeof(isolate());
|
| + CallCode(callable.code(), RelocInfo::CODE_TARGET, instr);
|
| __ bind(&end);
|
| }
|
|
|
|
|