Revision: 3159
Author: [email protected]
Date: Wed Oct 28 05:14:20 2009
Log: Changed accessor ICs to using direct calls.

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

http://code.google.com/p/v8/source/detail?r=3159

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

=======================================
--- /branches/bleeding_edge/src/ia32/codegen-ia32.cc    Tue Oct 27 08:38:49  
2009
+++ /branches/bleeding_edge/src/ia32/codegen-ia32.cc    Wed Oct 28 05:14:20  
2009
@@ -7748,9 +7748,8 @@
      __ mov(Operand(esp, 0 * kPointerSize), ebx);  // output
      __ mov(Operand(esp, 3 * kPointerSize), Immediate(0));  // out cell.
    }
-  __ mov(eax, Immediate(ExternalReference(fun())));
    // Call the api function!
-  __ call(Operand(eax));
+  __ call(fun()->address(), RelocInfo::RUNTIME_ENTRY);
    // Check if the function scheduled an exception.
    ExternalReference scheduled_exception_address =
        ExternalReference::scheduled_exception_address();

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

Reply via email to