Changed accessor ICs to using direct calls.

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


git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3159 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
christian.plesner.hansen@gmail.com 2009-10-28 12:14:20 +00:00
parent aea684ede4
commit 583c47ae76

View File

@ -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();