X87: Remove keyed_store_calling convention and friends
port r22706. original commit message: Remove keyed_store_calling convention and friends BUG= R=weiliang.lin@intel.com Review URL: https://codereview.chromium.org/431263003 Patch from Chunyang Dai <chunyang.dai@intel.com>. git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22775 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
d9900a2071
commit
cd2a39e3ab
@ -990,21 +990,6 @@ const Register StoreIC::NameRegister() { return ecx; }
|
|||||||
const Register StoreIC::ValueRegister() { return eax; }
|
const Register StoreIC::ValueRegister() { return eax; }
|
||||||
|
|
||||||
|
|
||||||
const Register KeyedStoreIC::ReceiverRegister() {
|
|
||||||
return StoreIC::ReceiverRegister();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
const Register KeyedStoreIC::NameRegister() {
|
|
||||||
return StoreIC::NameRegister();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
const Register KeyedStoreIC::ValueRegister() {
|
|
||||||
return StoreIC::ValueRegister();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
const Register KeyedStoreIC::MapRegister() {
|
const Register KeyedStoreIC::MapRegister() {
|
||||||
return ebx;
|
return ebx;
|
||||||
}
|
}
|
||||||
|
@ -1195,21 +1195,12 @@ Register* PropertyAccessCompiler::store_calling_convention() {
|
|||||||
// receiver, name, scratch1, scratch2, scratch3.
|
// receiver, name, scratch1, scratch2, scratch3.
|
||||||
Register receiver = StoreIC::ReceiverRegister();
|
Register receiver = StoreIC::ReceiverRegister();
|
||||||
Register name = StoreIC::NameRegister();
|
Register name = StoreIC::NameRegister();
|
||||||
|
ASSERT(ebx.is(KeyedStoreIC::MapRegister()));
|
||||||
static Register registers[] = { receiver, name, ebx, edi, no_reg };
|
static Register registers[] = { receiver, name, ebx, edi, no_reg };
|
||||||
return registers;
|
return registers;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Register* PropertyAccessCompiler::keyed_store_calling_convention() {
|
|
||||||
// receiver, name, scratch1/map, scratch2, scratch3.
|
|
||||||
Register receiver = KeyedStoreIC::ReceiverRegister();
|
|
||||||
Register name = KeyedStoreIC::NameRegister();
|
|
||||||
Register map = KeyedStoreIC::MapRegister();
|
|
||||||
static Register registers[] = { receiver, name, map, edi, no_reg };
|
|
||||||
return registers;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
Register NamedStoreHandlerCompiler::value() { return StoreIC::ValueRegister(); }
|
Register NamedStoreHandlerCompiler::value() { return StoreIC::ValueRegister(); }
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user