Index: src/crankshaft/arm64/lithium-codegen-arm64.cc |
diff --git a/src/crankshaft/arm64/lithium-codegen-arm64.cc b/src/crankshaft/arm64/lithium-codegen-arm64.cc |
index 4cc34aaa48dcadd97757dd1a8d60e9fc0d16ad28..4aa13b9b71d6c2bf93002305049ce352807a3d59 100644 |
--- a/src/crankshaft/arm64/lithium-codegen-arm64.cc |
+++ b/src/crankshaft/arm64/lithium-codegen-arm64.cc |
@@ -5456,8 +5456,8 @@ void LCodeGen::DoTypeof(LTypeof* instr) { |
__ Mov(x0, Immediate(isolate()->factory()->number_string())); |
__ B(&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); |
} |