Revision: 22404
Author:   [email protected]
Date:     Tue Jul 15 10:19:30 2014 UTC
Log:      Enum RegisterInfo renamed to ParameterIndices.

"Info" is information-poor.

[email protected]

Review URL: https://codereview.chromium.org/385953004
http://code.google.com/p/v8/source/detail?r=22404

Modified:
 /branches/bleeding_edge/src/code-stubs.cc
 /branches/bleeding_edge/src/code-stubs.h
 /branches/bleeding_edge/src/ic.h

=======================================
--- /branches/bleeding_edge/src/code-stubs.cc   Mon Jul 14 20:43:41 2014 UTC
+++ /branches/bleeding_edge/src/code-stubs.cc   Tue Jul 15 10:19:30 2014 UTC
@@ -576,7 +576,7 @@
     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 @@
     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 @@
     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);
=======================================
--- /branches/bleeding_edge/src/code-stubs.h    Mon Jul 14 20:43:41 2014 UTC
+++ /branches/bleeding_edge/src/code-stubs.h    Tue Jul 15 10:19:30 2014 UTC
@@ -2455,12 +2455,13 @@
   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() {
=======================================
--- /branches/bleeding_edge/src/ic.h    Mon Jul 14 20:43:41 2014 UTC
+++ /branches/bleeding_edge/src/ic.h    Tue Jul 15 10:19:30 2014 UTC
@@ -396,10 +396,10 @@
   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 @@
   static const ExtraICState kStrictModeState =
       1 << StrictModeState::kShift;

-  enum RegisterInfo {
+  enum ParameterIndices {
     kReceiverIndex,
     kNameIndex,
     kValueIndex,
-    kRegisterArgumentCount
+    kParameterCount
   };
   static const Register ReceiverRegister();
   static const Register NameRegister();

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to