Reviewers: danno, Paul Lind, kisg, dusmil, palfia,

Description:
MIPS: Fix r22021 "The IC exposes a register definition." after r22018.

BUG=

Please review this at https://codereview.chromium.org/344543004/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+8, -9 lines):
  M src/mips/code-stubs-mips.cc


Index: src/mips/code-stubs-mips.cc
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc
index 2a6f982e26e2411d69b68329b061397fce162f3b..5ec561e7a21a2430e1139de0b39860c5fc4c3f40 100644
--- a/src/mips/code-stubs-mips.cc
+++ b/src/mips/code-stubs-mips.cc
@@ -21,7 +21,7 @@ void FastNewClosureStub::InitializeInterfaceDescriptor(
   Register registers[] = { a2 };
   descriptor->Initialize(
       ARRAY_SIZE(registers), registers,
- Runtime::FunctionForId(Runtime::kHiddenNewClosureFromStubFailure)->entry);
+      Runtime::FunctionForId(Runtime::kNewClosureFromStubFailure)->entry);
 }


@@ -44,7 +44,7 @@ void NumberToStringStub::InitializeInterfaceDescriptor(
   Register registers[] = { a0 };
   descriptor->Initialize(
       ARRAY_SIZE(registers), registers,
-      Runtime::FunctionForId(Runtime::kHiddenNumberToString)->entry);
+      Runtime::FunctionForId(Runtime::kNumberToStringRT)->entry);
 }


@@ -57,8 +57,7 @@ void FastCloneShallowArrayStub::InitializeInterfaceDescriptor(
     Representation::Tagged() };
   descriptor->Initialize(
       ARRAY_SIZE(registers), registers,
-      Runtime::FunctionForId(
-          Runtime::kHiddenCreateArrayLiteralStubBailout)->entry,
+ Runtime::FunctionForId(Runtime::kCreateArrayLiteralStubBailout)->entry,
       representations);
 }

@@ -68,7 +67,7 @@ void FastCloneShallowObjectStub::InitializeInterfaceDescriptor(
   Register registers[] = { a3, a2, a1, a0 };
   descriptor->Initialize(
       ARRAY_SIZE(registers), registers,
-      Runtime::FunctionForId(Runtime::kHiddenCreateObjectLiteral)->entry);
+      Runtime::FunctionForId(Runtime::kCreateObjectLiteral)->entry);
 }


@@ -84,7 +83,7 @@ void RegExpConstructResultStub::InitializeInterfaceDescriptor(
   Register registers[] = { a2, a1, a0 };
   descriptor->Initialize(
       ARRAY_SIZE(registers), registers,
- Runtime::FunctionForId(Runtime::kHiddenRegExpConstructResult)->entry);
+      Runtime::FunctionForId(Runtime::kRegExpConstructResult)->entry);
 }


@@ -153,7 +152,7 @@ static void InitializeArrayConstructorDescriptor(
   // a1 -- function
   // a2 -- allocation site with elements kind
   Address deopt_handler = Runtime::FunctionForId(
-      Runtime::kHiddenArrayConstructor)->entry;
+      Runtime::kArrayConstructor)->entry;

   if (constant_stack_parameter_count == 0) {
     Register registers[] = { a1, a2 };
@@ -187,7 +186,7 @@ static void InitializeInternalArrayConstructorDescriptor(
   // a0 -- number of arguments
   // a1 -- constructor function
   Address deopt_handler = Runtime::FunctionForId(
-      Runtime::kHiddenInternalArrayConstructor)->entry;
+      Runtime::kInternalArrayConstructor)->entry;

   if (constant_stack_parameter_count == 0) {
     Register registers[] = { a1 };
@@ -298,7 +297,7 @@ void StringAddStub::InitializeInterfaceDescriptor(
   Register registers[] = { a1, a0 };
   descriptor->Initialize(
       ARRAY_SIZE(registers), registers,
-      Runtime::FunctionForId(Runtime::kHiddenStringAdd)->entry);
+      Runtime::FunctionForId(Runtime::kStringAdd)->entry);
 }




--
--
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