Index: src/ia32/macro-assembler-ia32.h |
diff --git a/src/ia32/macro-assembler-ia32.h b/src/ia32/macro-assembler-ia32.h |
index d6db5b88dac9b847385c905ac882d80d586231f0..b8c59b70bc23376ffb8f5f6d97e36e3cf229eccf 100644 |
--- a/src/ia32/macro-assembler-ia32.h |
+++ b/src/ia32/macro-assembler-ia32.h |
@@ -791,24 +791,6 @@ class MacroAssembler: public Assembler { |
void CallCFunction(ExternalReference function, int num_arguments); |
void CallCFunction(Register function, int num_arguments); |
- // Prepares stack to put arguments (aligns and so on). Reserves |
- // space for return value if needed (assumes the return value is a handle). |
- // 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. Clobbers ebx, edi and |
- // caller-save registers. Restores context. On return removes |
- // stack_space * kPointerSize (GCed). |
- void CallApiFunctionAndReturn(Register function_address, |
- ExternalReference thunk_ref, |
- Operand thunk_last_arg, int stack_space, |
- Operand* stack_space_operand, |
- Operand return_value_operand, |
- Operand* context_restore_operand); |
- |
// Jump to a runtime routine. |
void JumpToExternalReference(const ExternalReference& ext); |
@@ -1089,10 +1071,6 @@ inline Operand GlobalObjectOperand() { |
} |
-// Generates an Operand for saving parameters after PrepareCallApiFunction. |
-Operand ApiParameterOperand(int index); |
- |
- |
#ifdef GENERATED_CODE_COVERAGE |
extern void LogGeneratedCodeCoverage(const char* file_line); |
#define CODE_COVERAGE_STRINGIFY(x) #x |