Index: src/ia32/macro-assembler-ia32.h |
diff --git a/src/ia32/macro-assembler-ia32.h b/src/ia32/macro-assembler-ia32.h |
index a638517dafff3338e4a136f4e8fb1c8e2b969df7..837c500e9a0b6f1fc38f8da36048ad5e642ee218 100644 |
--- a/src/ia32/macro-assembler-ia32.h |
+++ b/src/ia32/macro-assembler-ia32.h |
@@ -558,10 +558,10 @@ class MacroAssembler: public Assembler { |
// Prepares stack to put arguments (aligns and so on). Reserves |
// space for return value if needed (assumes the return value is a handle). |
- // Uses callee-saved esi to restore stack state after call. Arguments must be |
- // stored in ApiParameterOperand(0), ApiParameterOperand(1) etc. Saves |
- // context (esi). |
- void PrepareCallApiFunction(int argc, Register scratch); |
+ // Arguments must be stored in ApiParameterOperand(0), ApiParameterOperand(1) |
+ // etc. Saves context (esi). If space was reserved for return value then |
+ // stores the pointer to the reserved slot into esi. |
+ void PrepareCallApiFunction(int argc); |
// Calls an API function. Allocates HandleScope, extracts |
// returned value from handle and propagates exceptions. |