Index: src/arm64/stub-cache-arm64.cc |
diff --git a/src/arm64/stub-cache-arm64.cc b/src/arm64/stub-cache-arm64.cc |
index 14ced592c1016ebbd2770d460c7b7eba5014f19d..a466b6bcab83e0fdf284f6bb5c3462efd6c94b6c 100644 |
--- a/src/arm64/stub-cache-arm64.cc |
+++ b/src/arm64/stub-cache-arm64.cc |
@@ -960,13 +960,8 @@ void LoadStubCompiler::GenerateLoadField(Register reg, |
FieldIndex field, |
Representation representation) { |
__ Mov(receiver(), reg); |
- if (kind() == Code::LOAD_IC) { |
- LoadFieldStub stub(isolate(), field); |
- GenerateTailCall(masm(), stub.GetCode()); |
- } else { |
- KeyedLoadFieldStub stub(isolate(), field); |
- GenerateTailCall(masm(), stub.GetCode()); |
- } |
+ LoadFieldStub stub(isolate(), field); |
+ GenerateTailCall(masm(), stub.GetCode()); |
} |