Index: src/crankshaft/mips64/lithium-codegen-mips64.cc |
diff --git a/src/crankshaft/mips64/lithium-codegen-mips64.cc b/src/crankshaft/mips64/lithium-codegen-mips64.cc |
index 2681fae262dbe64e14433063c671a565b177cf7b..f220e5985d194d32f9303c4f659bb807486f7f07 100644 |
--- a/src/crankshaft/mips64/lithium-codegen-mips64.cc |
+++ b/src/crankshaft/mips64/lithium-codegen-mips64.cc |
@@ -5372,8 +5372,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); |
} |