Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index c36568c02c927d08a61bf7b767ce481f5169996e..d4745cc3f539cb6cce6799ed75833e42717e4d23 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -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); |