Index: src/ia32/stub-cache-ia32.cc |
diff --git a/src/ia32/stub-cache-ia32.cc b/src/ia32/stub-cache-ia32.cc |
index 443ed4e7ee083195d10f715cd2cf502167207021..1a4e3f69da0281c0dd78352c04fdd45b24337250 100644 |
--- a/src/ia32/stub-cache-ia32.cc |
+++ b/src/ia32/stub-cache-ia32.cc |
@@ -968,13 +968,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()); |
} |