Index: src/arm/macro-assembler-arm.h |
diff --git a/src/arm/macro-assembler-arm.h b/src/arm/macro-assembler-arm.h |
index 71588094573dfa96da173a12709c3f0f15203189..502f7c46d26fc85dd9ad1ce70bb3ca0ce2eef230 100644 |
--- a/src/arm/macro-assembler-arm.h |
+++ b/src/arm/macro-assembler-arm.h |
@@ -1065,30 +1065,30 @@ class MacroAssembler: public Assembler { |
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) { |
+ 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); |
+ void TailCallRuntime(Runtime::FunctionId fid); |
int CalculateStackPassedWords(int num_reg_arguments, |
int num_double_arguments); |