Enum RegisterInfo renamed to ParameterIndices.
"Info" is information-poor. R=mstarzinger@chromium.org Review URL: https://codereview.chromium.org/385953004 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22404 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
ed744ffa17
commit
0827316df5
@ -576,7 +576,7 @@ void KeyedLoadFastElementStub::InitializeInterfaceDescriptor(
|
||||
CodeStubInterfaceDescriptor* descriptor) {
|
||||
Register registers[] = { LoadIC::ReceiverRegister(),
|
||||
LoadIC::NameRegister() };
|
||||
STATIC_ASSERT(LoadIC::kRegisterArgumentCount == 2);
|
||||
STATIC_ASSERT(LoadIC::kParameterCount == 2);
|
||||
descriptor->Initialize(ARRAY_SIZE(registers), registers,
|
||||
FUNCTION_ADDR(KeyedLoadIC_MissFromStubFailure));
|
||||
}
|
||||
@ -586,7 +586,7 @@ void KeyedLoadDictionaryElementStub::InitializeInterfaceDescriptor(
|
||||
CodeStubInterfaceDescriptor* descriptor) {
|
||||
Register registers[] = { LoadIC::ReceiverRegister(),
|
||||
LoadIC::NameRegister() };
|
||||
STATIC_ASSERT(LoadIC::kRegisterArgumentCount == 2);
|
||||
STATIC_ASSERT(LoadIC::kParameterCount == 2);
|
||||
descriptor->Initialize(ARRAY_SIZE(registers), registers,
|
||||
FUNCTION_ADDR(KeyedLoadIC_MissFromStubFailure));
|
||||
}
|
||||
@ -596,7 +596,7 @@ void KeyedLoadGenericElementStub::InitializeInterfaceDescriptor(
|
||||
CodeStubInterfaceDescriptor* descriptor) {
|
||||
Register registers[] = { LoadIC::ReceiverRegister(),
|
||||
LoadIC::NameRegister() };
|
||||
STATIC_ASSERT(LoadIC::kRegisterArgumentCount == 2);
|
||||
STATIC_ASSERT(LoadIC::kParameterCount == 2);
|
||||
descriptor->Initialize(
|
||||
ARRAY_SIZE(registers), registers,
|
||||
Runtime::FunctionForId(Runtime::kKeyedGetProperty)->entry);
|
||||
|
@ -2455,12 +2455,13 @@ class ElementsTransitionAndStoreStub : public HydrogenCodeStub {
|
||||
virtual void InitializeInterfaceDescriptor(
|
||||
CodeStubInterfaceDescriptor* descriptor) V8_OVERRIDE;
|
||||
|
||||
enum RegisterInfo {
|
||||
// Parameters accessed via CodeStubGraphBuilder::GetParameter()
|
||||
enum ParameterIndices {
|
||||
kValueIndex,
|
||||
kMapIndex,
|
||||
kKeyIndex,
|
||||
kObjectIndex,
|
||||
kRegisterArgumentCount
|
||||
kParameterCount
|
||||
};
|
||||
|
||||
static const Register ValueRegister() {
|
||||
|
8
src/ic.h
8
src/ic.h
@ -396,10 +396,10 @@ class LoadIC: public IC {
|
||||
class ContextualModeBits: public BitField<ContextualMode, 0, 1> {};
|
||||
STATIC_ASSERT(static_cast<int>(NOT_CONTEXTUAL) == 0);
|
||||
|
||||
enum RegisterInfo {
|
||||
enum ParameterIndices {
|
||||
kReceiverIndex,
|
||||
kNameIndex,
|
||||
kRegisterArgumentCount
|
||||
kParameterCount
|
||||
};
|
||||
static const Register ReceiverRegister();
|
||||
static const Register NameRegister();
|
||||
@ -583,11 +583,11 @@ class StoreIC: public IC {
|
||||
static const ExtraICState kStrictModeState =
|
||||
1 << StrictModeState::kShift;
|
||||
|
||||
enum RegisterInfo {
|
||||
enum ParameterIndices {
|
||||
kReceiverIndex,
|
||||
kNameIndex,
|
||||
kValueIndex,
|
||||
kRegisterArgumentCount
|
||||
kParameterCount
|
||||
};
|
||||
static const Register ReceiverRegister();
|
||||
static const Register NameRegister();
|
||||
|
Loading…
Reference in New Issue
Block a user