Author: [EMAIL PROTECTED]
Date: Tue Oct  7 03:32:39 2008
New Revision: 457

Modified:
    branches/bleeding_edge/src/ic-ia32.cc

Log:
- Fixed the parameter pasing to SharedStoreIC_ExtendStorage
   for keyed store ic.

Review URL: http://codereview.chromium.org/6303

Modified: branches/bleeding_edge/src/ic-ia32.cc
==============================================================================
--- branches/bleeding_edge/src/ic-ia32.cc       (original)
+++ branches/bleeding_edge/src/ic-ia32.cc       Tue Oct  7 03:32:39 2008
@@ -754,17 +754,18 @@
  void KeyedStoreIC::GenerateExtendStorage(MacroAssembler* masm) {
    // ----------- S t a t e -------------
    //  -- eax    : value
+  //  -- ecx    : transition map
    //  -- esp[0] : return address
    //  -- esp[4] : key
    //  -- esp[8] : receiver
    // -----------------------------------

    // Move the return address below the arguments.
-  __ pop(ecx);
+  __ pop(ebx);
    __ push(Operand(esp, 1 * kPointerSize));
-  __ push(Operand(esp, 1 * kPointerSize));
-  __ push(eax);
    __ push(ecx);
+  __ push(eax);
+  __ push(ebx);

    // Do tail-call to runtime routine.
    __ TailCallRuntime(

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to