Revision: 22775
Author:   [email protected]
Date:     Fri Aug  1 01:58:56 2014 UTC
Log:      X87: Remove keyed_store_calling convention and friends

port r22706.

original commit message:
  Remove keyed_store_calling convention and friends

BUG=
[email protected]

Review URL: https://codereview.chromium.org/431263003

Patch from Chunyang Dai <[email protected]>.
http://code.google.com/p/v8/source/detail?r=22775

Modified:
 /branches/bleeding_edge/src/x87/ic-x87.cc
 /branches/bleeding_edge/src/x87/stub-cache-x87.cc

=======================================
--- /branches/bleeding_edge/src/x87/ic-x87.cc   Wed Jul 30 09:04:42 2014 UTC
+++ /branches/bleeding_edge/src/x87/ic-x87.cc   Fri Aug  1 01:58:56 2014 UTC
@@ -988,21 +988,6 @@
 const Register StoreIC::ReceiverRegister() { return edx; }
 const Register StoreIC::NameRegister() { return ecx; }
 const Register StoreIC::ValueRegister() { return eax; }
-
-
-const Register KeyedStoreIC::ReceiverRegister() {
-  return StoreIC::ReceiverRegister();
-}
-
-
-const Register KeyedStoreIC::NameRegister() {
-  return StoreIC::NameRegister();
-}
-
-
-const Register KeyedStoreIC::ValueRegister() {
-  return StoreIC::ValueRegister();
-}


 const Register KeyedStoreIC::MapRegister() {
=======================================
--- /branches/bleeding_edge/src/x87/stub-cache-x87.cc Thu Jul 31 10:39:35 2014 UTC +++ /branches/bleeding_edge/src/x87/stub-cache-x87.cc Fri Aug 1 01:58:56 2014 UTC
@@ -1195,19 +1195,10 @@
   // receiver, name, scratch1, scratch2, scratch3.
   Register receiver = StoreIC::ReceiverRegister();
   Register name = StoreIC::NameRegister();
+  ASSERT(ebx.is(KeyedStoreIC::MapRegister()));
   static Register registers[] = { receiver, name, ebx, edi, no_reg };
   return registers;
 }
-
-
-Register* PropertyAccessCompiler::keyed_store_calling_convention() {
-  // receiver, name, scratch1/map, scratch2, scratch3.
-  Register receiver = KeyedStoreIC::ReceiverRegister();
-  Register name = KeyedStoreIC::NameRegister();
-  Register map = KeyedStoreIC::MapRegister();
-  static Register registers[] = { receiver, name, map, edi, no_reg };
-  return registers;
-}


Register NamedStoreHandlerCompiler::value() { return StoreIC::ValueRegister(); }

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