| Index: src/arm/virtual-frame-arm.h
|
| ===================================================================
|
| --- src/arm/virtual-frame-arm.h (revision 3765)
|
| +++ src/arm/virtual-frame-arm.h (working copy)
|
| @@ -287,18 +287,11 @@
|
| // Call stub given the number of arguments it expects on (and
|
| // removes from) the stack.
|
| void CallStub(CodeStub* stub, int arg_count) {
|
| - PrepareForCall(arg_count, arg_count);
|
| - RawCallStub(stub);
|
| + Forget(arg_count);
|
| + ASSERT(cgen()->HasValidEntryRegisters());
|
| + masm()->CallStub(stub);
|
| }
|
|
|
| - // Call stub that expects its argument in r0. The argument is given
|
| - // as a result which must be the register r0.
|
| - void CallStub(CodeStub* stub, Result* arg);
|
| -
|
| - // Call stub that expects its arguments in r1 and r0. The arguments
|
| - // are given as results which must be the appropriate registers.
|
| - void CallStub(CodeStub* stub, Result* arg0, Result* arg1);
|
| -
|
| // Call runtime given the number of arguments expected on (and
|
| // removed from) the stack.
|
| void CallRuntime(Runtime::Function* f, int arg_count);
|
| @@ -311,20 +304,11 @@
|
| int arg_count);
|
|
|
| // Call into an IC stub given the number of arguments it removes
|
| - // from the stack. Register arguments are passed as results and
|
| - // consumed by the call.
|
| + // from the stack. Register arguments to the IC stub are implicit,
|
| + // and depend on the type of IC stub.
|
| void CallCodeObject(Handle<Code> ic,
|
| RelocInfo::Mode rmode,
|
| int dropped_args);
|
| - void CallCodeObject(Handle<Code> ic,
|
| - RelocInfo::Mode rmode,
|
| - Result* arg,
|
| - int dropped_args);
|
| - void CallCodeObject(Handle<Code> ic,
|
| - RelocInfo::Mode rmode,
|
| - Result* arg0,
|
| - Result* arg1,
|
| - int dropped_args);
|
|
|
| // Drop a number of elements from the top of the expression stack. May
|
| // emit code to affect the physical frame. Does not clobber any registers
|
| @@ -511,14 +495,6 @@
|
| // Register counts are correctly updated.
|
| int InvalidateFrameSlotAt(int index);
|
|
|
| - // Call a code stub that has already been prepared for calling (via
|
| - // PrepareForCall).
|
| - void RawCallStub(CodeStub* stub);
|
| -
|
| - // Calls a code object which has already been prepared for calling
|
| - // (via PrepareForCall).
|
| - void RawCallCodeObject(Handle<Code> code, RelocInfo::Mode rmode);
|
| -
|
| bool Equals(VirtualFrame* other);
|
|
|
| // Classes that need raw access to the elements_ array.
|
|
|