| Index: src/ia32/macro-assembler-ia32.h
|
| diff --git a/src/ia32/macro-assembler-ia32.h b/src/ia32/macro-assembler-ia32.h
|
| index e1a5b3e1a136327724ad695a4393926f2cf649ea..68df2556a7ef7acf4b4c96aa776cdad37a5f6f57 100644
|
| --- a/src/ia32/macro-assembler-ia32.h
|
| +++ b/src/ia32/macro-assembler-ia32.h
|
| @@ -671,28 +671,29 @@ class MacroAssembler: public Assembler {
|
| // Call a runtime routine.
|
| void CallRuntime(const Runtime::Function* f, int num_arguments,
|
| SaveFPRegsMode save_doubles = kDontSaveFPRegs);
|
| - void CallRuntimeSaveDoubles(Runtime::FunctionId id) {
|
| - const Runtime::Function* function = Runtime::FunctionForId(id);
|
| + void CallRuntimeSaveDoubles(Runtime::FunctionId fid) {
|
| + const Runtime::Function* function = Runtime::FunctionForId(fid);
|
| CallRuntime(function, function->nargs, kSaveFPRegs);
|
| }
|
|
|
| // Convenience function: Same as above, but takes the fid instead.
|
| - void CallRuntime(Runtime::FunctionId id, int num_arguments,
|
| + void CallRuntime(Runtime::FunctionId fid,
|
| SaveFPRegsMode save_doubles = kDontSaveFPRegs) {
|
| - CallRuntime(Runtime::FunctionForId(id), num_arguments, save_doubles);
|
| + const Runtime::Function* function = Runtime::FunctionForId(fid);
|
| + CallRuntime(function, function->nargs, save_doubles);
|
| + }
|
| +
|
| + // Convenience function: Same as above, but takes the fid instead.
|
| + void CallRuntime(Runtime::FunctionId fid, int num_arguments,
|
| + SaveFPRegsMode save_doubles = kDontSaveFPRegs) {
|
| + CallRuntime(Runtime::FunctionForId(fid), num_arguments, save_doubles);
|
| }
|
|
|
| // Convenience function: call an external reference.
|
| void CallExternalReference(ExternalReference ref, int num_arguments);
|
|
|
| - // Tail call of a runtime routine (jump).
|
| - // Like JumpToExternalReference, but also takes care of passing the number
|
| - // of parameters.
|
| - void TailCallExternalReference(const ExternalReference& ext,
|
| - int num_arguments);
|
| -
|
| // Convenience function: tail call a runtime routine (jump).
|
| - void TailCallRuntime(Runtime::FunctionId fid, int num_arguments);
|
| + void TailCallRuntime(Runtime::FunctionId fid);
|
|
|
| // Before calling a C-function from generated code, align arguments on stack.
|
| // After aligning the frame, arguments must be stored in esp[0], esp[4],
|
|
|