Index: src/x64/macro-assembler-x64.h |
diff --git a/src/x64/macro-assembler-x64.h b/src/x64/macro-assembler-x64.h |
index cf3245aa57fc4a8b84024a53e11697d8a105177c..83ef957288104d0ff127918dca3a106bfb130162 100644 |
--- a/src/x64/macro-assembler-x64.h |
+++ b/src/x64/macro-assembler-x64.h |
@@ -1404,32 +1404,32 @@ class MacroAssembler: public Assembler { |
SaveFPRegsMode save_doubles = kDontSaveFPRegs); |
// Call a runtime function and save the value of XMM registers. |
- 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) { |
+ 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(id), num_arguments, save_doubles); |
+ CallRuntime(Runtime::FunctionForId(fid), num_arguments, save_doubles); |
} |
// Convenience function: call an external reference. |
void CallExternalReference(const ExternalReference& ext, |
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); |
+ // Convenience function: tail call a runtime routine (jump) |
+ void TailCallRuntime(Runtime::FunctionId fid); |
- // Jump to a runtime routine. |
+ // Jump to a runtime routines |
void JumpToExternalReference(const ExternalReference& ext); |
// Before calling a C-function from generated code, align arguments on stack. |