Index: src/ia32/macro-assembler-ia32.h |
diff --git a/src/ia32/macro-assembler-ia32.h b/src/ia32/macro-assembler-ia32.h |
index 519652ac3f245554358f95ff667173f92ed87318..e7a075d10d6af6a604e88ffa10ddb60b53bceabd 100644 |
--- a/src/ia32/macro-assembler-ia32.h |
+++ b/src/ia32/macro-assembler-ia32.h |
@@ -769,13 +769,16 @@ class MacroAssembler: public Assembler { |
// 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); |
+ void PrepareCallApiFunction(int argc, bool returns_handle); |
// Calls an API function. Allocates HandleScope, extracts returned value |
// from handle and propagates exceptions. Clobbers ebx, edi and |
// caller-save registers. Restores context. On return removes |
// stack_space * kPointerSize (GCed). |
- void CallApiFunctionAndReturn(Address function_address, int stack_space); |
+ void CallApiFunctionAndReturn(Address function_address, |
+ int stack_space, |
+ bool returns_handle, |
+ int return_value_offset_from_ebp); |
// Jump to a runtime routine. |
void JumpToExternalReference(const ExternalReference& ext); |
@@ -1010,7 +1013,7 @@ inline Operand GlobalObjectOperand() { |
// Generates an Operand for saving parameters after PrepareCallApiFunction. |
-Operand ApiParameterOperand(int index); |
+Operand ApiParameterOperand(int index, bool returns_handle); |
#ifdef GENERATED_CODE_COVERAGE |