Index: src/ia32/stub-cache-ia32.cc |
=================================================================== |
--- src/ia32/stub-cache-ia32.cc (revision 5856) |
+++ src/ia32/stub-cache-ia32.cc (working copy) |
@@ -417,7 +417,7 @@ |
static const int kFastApiCallArguments = 3; |
-// Reserves space for the extra arguments to FastHandleApiCall in the |
+// Reserves space for the extra arguments to API function in the |
// caller's frame. |
// |
// These arguments are set by CheckPrototypes and GenerateFastApiCall. |
@@ -450,7 +450,7 @@ |
} |
-// Generates call to FastHandleApiCall builtin. |
+// Generates call to API function. |
static bool GenerateFastApiCall(MacroAssembler* masm, |
const CallOptimization& optimization, |
int argc, |
@@ -473,7 +473,7 @@ |
__ mov(edi, Immediate(Handle<JSFunction>(function))); |
__ mov(esi, FieldOperand(edi, JSFunction::kContextOffset)); |
- // Pass the additional arguments FastHandleApiCall expects. |
+ // Pass the additional arguments. |
__ mov(Operand(esp, 2 * kPointerSize), edi); |
Object* call_data = optimization.api_call_info()->data(); |
Handle<CallHandlerInfo> api_call_info_handle(optimization.api_call_info()); |
@@ -1263,8 +1263,8 @@ |
__ push(receiver); |
__ push(holder_reg); |
__ mov(holder_reg, Immediate(Handle<AccessorInfo>(callback))); |
+ __ push(FieldOperand(holder_reg, AccessorInfo::kDataOffset)); |
__ push(holder_reg); |
- __ push(FieldOperand(holder_reg, AccessorInfo::kDataOffset)); |
__ push(name_reg); |
__ push(scratch2); // restore return address |