| Index: src/crankshaft/ia32/lithium-codegen-ia32.cc
|
| diff --git a/src/crankshaft/ia32/lithium-codegen-ia32.cc b/src/crankshaft/ia32/lithium-codegen-ia32.cc
|
| index b6f9811a1410a88f0e56606f351d450f501e8560..36f9e3e7bb243b204ed7f70d6fe12f82ebc0580c 100644
|
| --- a/src/crankshaft/ia32/lithium-codegen-ia32.cc
|
| +++ b/src/crankshaft/ia32/lithium-codegen-ia32.cc
|
| @@ -4946,8 +4946,8 @@ void LCodeGen::DoTypeof(LTypeof* instr) {
|
| __ mov(eax, Immediate(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);
|
| }
|
|
|
|
|