Index: src/crankshaft/arm/lithium-codegen-arm.cc |
diff --git a/src/crankshaft/arm/lithium-codegen-arm.cc b/src/crankshaft/arm/lithium-codegen-arm.cc |
index 11b2f6dc28201e7f6d04bbca2abbb561cfa8a333..fbdec969d58540a4be09c53bc29d615e8fb00a18 100644 |
--- a/src/crankshaft/arm/lithium-codegen-arm.cc |
+++ b/src/crankshaft/arm/lithium-codegen-arm.cc |
@@ -5182,8 +5182,8 @@ void LCodeGen::DoTypeof(LTypeof* instr) { |
__ mov(r0, 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); |
} |