| Index: src/virtual-frame-arm.h
|
| ===================================================================
|
| --- src/virtual-frame-arm.h (revision 1625)
|
| +++ src/virtual-frame-arm.h (working copy)
|
| @@ -248,27 +248,33 @@
|
| // Push a try-catch or try-finally handler on top of the virtual frame.
|
| void PushTryHandler(HandlerType type);
|
|
|
| - // Call a code stub, given the number of arguments it expects on (and
|
| - // removes from) the top of the physical frame.
|
| + // Call stub given the number of arguments it expects on (and
|
| + // removes from) the stack.
|
| Result CallStub(CodeStub* stub, int arg_count);
|
| - Result CallStub(CodeStub* stub, Result* arg, int arg_count);
|
| - Result CallStub(CodeStub* stub, Result* arg0, Result* arg1, int arg_count);
|
|
|
| - // Call the runtime, given the number of arguments expected on (and
|
| - // removed from) the top of the physical frame.
|
| + // Call stub that expects its argument in r0. The argument is given
|
| + // as a result which must be the register r0.
|
| + Result 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.
|
| + Result CallStub(CodeStub* stub, Result* arg0, Result* arg1);
|
| +
|
| + // Call runtime given the number of arguments expected on (and
|
| + // removed from) the stack.
|
| Result CallRuntime(Runtime::Function* f, int arg_count);
|
| Result CallRuntime(Runtime::FunctionId id, int arg_count);
|
|
|
| - // Invoke a builtin, given the number of arguments it expects on (and
|
| - // removes from) the top of the physical frame.
|
| + // Invoke builtin given the number of arguments it expects on (and
|
| + // removes from) the stack.
|
| Result InvokeBuiltin(Builtins::JavaScript id,
|
| InvokeJSFlags flag,
|
| Result* arg_count_register,
|
| int arg_count);
|
|
|
| - // Call into a JS code object, given the number of arguments it
|
| - // removes from the top of the physical frame.
|
| - // Register arguments are passed as results and consumed by the call.
|
| + // 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.
|
| Result CallCodeObject(Handle<Code> ic,
|
| RelocInfo::Mode rmode,
|
| int dropped_args);
|
|
|