Revision: 22066
Author:   [email protected]
Date:     Fri Jun 27 14:01:42 2014 UTC
Log:      Port the ic part

BUG=
[email protected]

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

Modified:
 /branches/bleeding_edge/src/arm/ic-arm.cc
 /branches/bleeding_edge/src/arm64/ic-arm64.cc
 /branches/bleeding_edge/src/mips/ic-mips.cc
 /branches/bleeding_edge/src/x64/ic-x64.cc
 /branches/bleeding_edge/src/x87/ic-x87.cc

=======================================
--- /branches/bleeding_edge/src/arm/ic-arm.cc   Fri Jun 27 13:48:37 2014 UTC
+++ /branches/bleeding_edge/src/arm/ic-arm.cc   Fri Jun 27 14:01:42 2014 UTC
@@ -873,7 +873,7 @@
   __ Push(r2, r1, r0);

   __ mov(r0, Operand(Smi::FromInt(strict_mode)));   // Strict mode.
-  __ Push(r1, r0);
+  __ Push(r0);

   __ TailCallRuntime(Runtime::kSetProperty, 4, 1);
 }
@@ -1213,12 +1213,11 @@

   __ Push(r1, r2, r0);

-  __ mov(r1, Operand(Smi::FromInt(NONE)));  // PropertyAttributes
   __ mov(r0, Operand(Smi::FromInt(strict_mode)));
-  __ Push(r1, r0);
+  __ Push(r0);

   // Do tail-call to runtime routine.
-  __ TailCallRuntime(Runtime::kSetProperty, 5, 1);
+  __ TailCallRuntime(Runtime::kSetProperty, 4, 1);
 }


=======================================
--- /branches/bleeding_edge/src/arm64/ic-arm64.cc Thu Jun 26 10:00:36 2014 UTC +++ /branches/bleeding_edge/src/arm64/ic-arm64.cc Fri Jun 27 14:01:42 2014 UTC
@@ -911,12 +911,11 @@
   // Push receiver, key and value for runtime call.
   __ Push(x2, x1, x0);

-  // Push PropertyAttributes(NONE) and strict_mode for runtime call.
-  STATIC_ASSERT(NONE == 0);
+  // Push strict_mode for runtime call.
   __ Mov(x10, Smi::FromInt(strict_mode));
-  __ Push(xzr, x10);
+  __ Push(x10);

-  __ TailCallRuntime(Runtime::kSetProperty, 5, 1);
+  __ TailCallRuntime(Runtime::kSetProperty, 4, 1);
 }


@@ -1258,12 +1257,11 @@

   __ Push(x1, x2, x0);

-  __ Mov(x11, Smi::FromInt(NONE));  // PropertyAttributes
   __ Mov(x10, Smi::FromInt(strict_mode));
-  __ Push(x11, x10);
+  __ Push(x10);

   // Do tail-call to runtime routine.
-  __ TailCallRuntime(Runtime::kSetProperty, 5, 1);
+  __ TailCallRuntime(Runtime::kSetProperty, 4, 1);
 }


=======================================
--- /branches/bleeding_edge/src/mips/ic-mips.cc Thu Jun 26 21:03:09 2014 UTC
+++ /branches/bleeding_edge/src/mips/ic-mips.cc Fri Jun 27 14:01:42 2014 UTC
@@ -795,11 +795,10 @@

   // Push receiver, key and value for runtime call.
   __ Push(a2, a1, a0);
-  __ li(a1, Operand(Smi::FromInt(NONE)));          // PropertyAttributes.
   __ li(a0, Operand(Smi::FromInt(strict_mode)));   // Strict mode.
-  __ Push(a1, a0);
+  __ Push(a0);

-  __ TailCallRuntime(Runtime::kSetProperty, 5, 1);
+  __ TailCallRuntime(Runtime::kSetProperty, 4, 1);
 }


@@ -1233,12 +1232,11 @@

   __ Push(a1, a2, a0);

-  __ li(a1, Operand(Smi::FromInt(NONE)));  // PropertyAttributes.
   __ li(a0, Operand(Smi::FromInt(strict_mode)));
-  __ Push(a1, a0);
+  __ Push(a0);

   // Do tail-call to runtime routine.
-  __ TailCallRuntime(Runtime::kSetProperty, 5, 1);
+  __ TailCallRuntime(Runtime::kSetProperty, 4, 1);
 }


=======================================
--- /branches/bleeding_edge/src/x64/ic-x64.cc   Thu Jun 26 10:00:36 2014 UTC
+++ /branches/bleeding_edge/src/x64/ic-x64.cc   Fri Jun 27 14:01:42 2014 UTC
@@ -1148,12 +1148,11 @@
   __ Push(rdx);
   __ Push(rcx);
   __ Push(rax);
-  __ Push(Smi::FromInt(NONE));  // PropertyAttributes
   __ Push(Smi::FromInt(strict_mode));
   __ PushReturnAddressFrom(rbx);

   // Do tail-call to runtime routine.
-  __ TailCallRuntime(Runtime::kSetProperty, 5, 1);
+  __ TailCallRuntime(Runtime::kSetProperty, 4, 1);
 }


@@ -1170,12 +1169,11 @@
   __ Push(rdx);  // receiver
   __ Push(rcx);  // key
   __ Push(rax);  // value
-  __ Push(Smi::FromInt(NONE));          // PropertyAttributes
   __ Push(Smi::FromInt(strict_mode));   // Strict mode.
   __ PushReturnAddressFrom(rbx);

   // Do tail-call to runtime routine.
-  __ TailCallRuntime(Runtime::kSetProperty, 5, 1);
+  __ TailCallRuntime(Runtime::kSetProperty, 4, 1);
 }


=======================================
--- /branches/bleeding_edge/src/x87/ic-x87.cc   Fri Jun 27 03:23:31 2014 UTC
+++ /branches/bleeding_edge/src/x87/ic-x87.cc   Fri Jun 27 14:01:42 2014 UTC
@@ -1132,12 +1132,11 @@
   __ push(edx);
   __ push(ecx);
   __ push(eax);
-  __ push(Immediate(Smi::FromInt(NONE)));  // PropertyAttributes
   __ push(Immediate(Smi::FromInt(strict_mode)));
   __ push(ebx);  // return address

   // Do tail-call to runtime routine.
-  __ TailCallRuntime(Runtime::kSetProperty, 5, 1);
+  __ TailCallRuntime(Runtime::kSetProperty, 4, 1);
 }


@@ -1154,12 +1153,11 @@
   __ push(edx);
   __ push(ecx);
   __ push(eax);
-  __ push(Immediate(Smi::FromInt(NONE)));         // PropertyAttributes
   __ push(Immediate(Smi::FromInt(strict_mode)));  // Strict mode.
   __ push(ebx);   // return address

   // Do tail-call to runtime routine.
-  __ TailCallRuntime(Runtime::kSetProperty, 5, 1);
+  __ TailCallRuntime(Runtime::kSetProperty, 4, 1);
 }


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