From: verwaest@chromium.org Date: Thu, 24 Jul 2014 09:13:04 +0000 (+0000) Subject: X87: Always use the LoadStubCompiler for Load handlers, also for keyedload handlers X-Git-Tag: upstream/4.7.83~8063 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f6c6f15e6ac6f1ed7d86c1c723eabcd461b49fd3;p=platform%2Fupstream%2Fv8.git X87: Always use the LoadStubCompiler for Load handlers, also for keyedload handlers port r22551. original commit message: Always use the LoadStubCompiler for Load handlers, also for keyedload handlers BUG= R=verwaest@chromium.org Review URL: https://codereview.chromium.org/412903003 Patch from Chunyang Dai . git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22587 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/x87/stub-cache-x87.cc b/src/x87/stub-cache-x87.cc index f4fd75b..1a925cd 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()); }