MIPS: Remove keyed_store_calling convention and friends.

Port r22706 (aae2de24)

BUG=
R=paul.lind@imgtec.com

Review URL: https://codereview.chromium.org/429893006

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22724 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
balazs.kilvady@imgtec.com 2014-07-30 17:46:10 +00:00
parent 7de16c46cc
commit 82c5829745
4 changed files with 3 additions and 51 deletions

View File

@ -529,21 +529,6 @@ const Register StoreIC::NameRegister() { return a2; }
const Register StoreIC::ValueRegister() { return a0; }
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() {
return a3;
}

View File

@ -1156,21 +1156,12 @@ Register* PropertyAccessCompiler::store_calling_convention() {
// receiver, name, scratch1, scratch2, scratch3.
Register receiver = StoreIC::ReceiverRegister();
Register name = StoreIC::NameRegister();
ASSERT(a3.is(KeyedStoreIC::MapRegister()));
static Register registers[] = { receiver, name, a3, t0, t1 };
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, t0, t1 };
return registers;
}
Register NamedStoreHandlerCompiler::value() { return StoreIC::ValueRegister(); }

View File

@ -523,26 +523,11 @@ const Register LoadIC::VectorRegister() {
}
const Register StoreIC::ReceiverRegister() { return a1; }
const Register StoreIC::ReceiverRegister() { return a1; }
const Register StoreIC::NameRegister() { return a2; }
const Register StoreIC::ValueRegister() { return a0; }
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() {
return a3;
}

View File

@ -1157,21 +1157,12 @@ Register* PropertyAccessCompiler::store_calling_convention() {
// receiver, name, scratch1, scratch2, scratch3.
Register receiver = StoreIC::ReceiverRegister();
Register name = StoreIC::NameRegister();
ASSERT(a3.is(KeyedStoreIC::MapRegister()));
static Register registers[] = { receiver, name, a3, a4, a5 };
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, a4, a5 };
return registers;
}
Register NamedStoreHandlerCompiler::value() { return StoreIC::ValueRegister(); }