Reviewers: Lasse Reichstein,

Description:
Changed accessor ICs to using direct calls.

Please review this at http://codereview.chromium.org/343015

Affected files:
   M src/ia32/codegen-ia32.cc


Index: src/ia32/codegen-ia32.cc
diff --git a/src/ia32/codegen-ia32.cc b/src/ia32/codegen-ia32.cc
index  
fc70513349728775479977befbc6f579af015cae..8e8ff2e0b1fab9f0e7add9ead00b08f43bfe9b57
  
100644
--- a/src/ia32/codegen-ia32.cc
+++ b/src/ia32/codegen-ia32.cc
@@ -7748,9 +7748,8 @@ void ApiGetterEntryStub::Generate(MacroAssembler*  
masm) {
      __ 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