From 956cd1c76c5435025df22ccb9cd078ef53bac12c Mon Sep 17 00:00:00 2001 From: "weiliang.lin@intel.com" Date: Fri, 1 Aug 2014 08:03:28 +0000 Subject: [PATCH] X87: Unify InstanceofStub interface descriptors port r22755. original commit message: Unify InstanceofStub interface descriptors BUG= R=mstarzinger@chromium.org, weiliang.lin@intel.com Review URL: https://codereview.chromium.org/435603007 Patch from Chunyang Dai . git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22780 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/x87/code-stubs-x87.cc | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/x87/code-stubs-x87.cc b/src/x87/code-stubs-x87.cc index 5867af7ce1..c007115a51 100644 --- a/src/x87/code-stubs-x87.cc +++ b/src/x87/code-stubs-x87.cc @@ -84,22 +84,15 @@ void CreateAllocationSiteStub::InitializeInterfaceDescriptor( } -void InstanceofStub::InitializeInterfaceDescriptor( - Isolate* isolate, CodeStubInterfaceDescriptor* descriptor) { - Register registers[] = {esi, left(), right()}; - descriptor->Initialize(MajorKey(), ARRAY_SIZE(registers), registers); -} - - void CallFunctionStub::InitializeInterfaceDescriptor( - Isolate* isolate, CodeStubInterfaceDescriptor* descriptor) { + CodeStubInterfaceDescriptor* descriptor) { Register registers[] = {esi, edi}; descriptor->Initialize(MajorKey(), ARRAY_SIZE(registers), registers); } void CallConstructStub::InitializeInterfaceDescriptor( - Isolate* isolate, CodeStubInterfaceDescriptor* descriptor) { + CodeStubInterfaceDescriptor* descriptor) { // eax : number of arguments // ebx : feedback vector // edx : (only if ebx is not the megamorphic symbol) slot in feedback