Index: src/mips/stub-cache-mips.cc |
diff --git a/src/mips/stub-cache-mips.cc b/src/mips/stub-cache-mips.cc |
index 5b66a7e9ac7823ad8395929256f7f0d8bb896ea3..0b7241f41400ee838cf9207f028c3ce40fb6cd8a 100644 |
--- a/src/mips/stub-cache-mips.cc |
+++ b/src/mips/stub-cache-mips.cc |
@@ -995,13 +995,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()); |
} |