Index: src/x87/stub-cache-x87.cc |
diff --git a/src/x87/stub-cache-x87.cc b/src/x87/stub-cache-x87.cc |
index f4fd75b01fe728be29b83f41ba1a90cac8e7a90b..1a925cd5d33fd4b082a8089884b502021b6686f5 100644 |
--- a/src/x87/stub-cache-x87.cc |
+++ b/src/x87/stub-cache-x87.cc |
@@ -967,13 +967,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()); |
} |