Index: src/arm/stub-cache-arm.cc |
diff --git a/src/arm/stub-cache-arm.cc b/src/arm/stub-cache-arm.cc |
index d9abe0a6963ca9479e7a96c5e9d8655eb56d525f..57f60fd1dd5b119643553dd95af1a8bdb7c82708 100644 |
--- a/src/arm/stub-cache-arm.cc |
+++ b/src/arm/stub-cache-arm.cc |
@@ -1004,13 +1004,8 @@ void LoadStubCompiler::GenerateLoadField(Register reg, |
FieldIndex field, |
Representation representation) { |
if (!reg.is(receiver())) __ 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()); |
} |