Index: src/crankshaft/mips/lithium-codegen-mips.cc |
diff --git a/src/crankshaft/mips/lithium-codegen-mips.cc b/src/crankshaft/mips/lithium-codegen-mips.cc |
index e2b781efa72b932193f833c9b0fa6d90f6204421..b3865475abe005772d1d0cae1e7eb249aaeea30f 100644 |
--- a/src/crankshaft/mips/lithium-codegen-mips.cc |
+++ b/src/crankshaft/mips/lithium-codegen-mips.cc |
@@ -5164,8 +5164,8 @@ void LCodeGen::DoTypeof(LTypeof* instr) { |
__ li(v0, Operand(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); |
} |