Index: src/crankshaft/x87/lithium-codegen-x87.cc |
diff --git a/src/crankshaft/x87/lithium-codegen-x87.cc b/src/crankshaft/x87/lithium-codegen-x87.cc |
index a51c33f0f1cc44ea529e8af65c1db366557d27ca..184c516558af5b20c6cd6610b400a247e5aa2e05 100644 |
--- a/src/crankshaft/x87/lithium-codegen-x87.cc |
+++ b/src/crankshaft/x87/lithium-codegen-x87.cc |
@@ -5431,8 +5431,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); |
} |