Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: src/arm/macro-assembler-arm.h

Issue 1550923002: Remove uses of result size in TailCallRuntime and friends (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: change spaces Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_ 5 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_
6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ 6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/bailout-reason.h" 9 #include "src/bailout-reason.h"
10 #include "src/frames.h" 10 #include "src/frames.h"
(...skipping 1067 matching lines...) Expand 10 before | Expand all | Expand 10 after
1078 } 1078 }
1079 1079
1080 // Convenience function: call an external reference. 1080 // Convenience function: call an external reference.
1081 void CallExternalReference(const ExternalReference& ext, 1081 void CallExternalReference(const ExternalReference& ext,
1082 int num_arguments); 1082 int num_arguments);
1083 1083
1084 // Tail call of a runtime routine (jump). 1084 // Tail call of a runtime routine (jump).
1085 // Like JumpToExternalReference, but also takes care of passing the number 1085 // Like JumpToExternalReference, but also takes care of passing the number
1086 // of parameters. 1086 // of parameters.
1087 void TailCallExternalReference(const ExternalReference& ext, 1087 void TailCallExternalReference(const ExternalReference& ext,
1088 int num_arguments, 1088 int num_arguments);
1089 int result_size);
1090 1089
1091 // Convenience function: tail call a runtime routine (jump). 1090 // Convenience function: tail call a runtime routine (jump).
1092 void TailCallRuntime(Runtime::FunctionId fid, 1091 void TailCallRuntime(Runtime::FunctionId fid, int num_arguments);
1093 int num_arguments,
1094 int result_size);
1095 1092
1096 int CalculateStackPassedWords(int num_reg_arguments, 1093 int CalculateStackPassedWords(int num_reg_arguments,
1097 int num_double_arguments); 1094 int num_double_arguments);
1098 1095
1099 // Before calling a C-function from generated code, align arguments on stack. 1096 // Before calling a C-function from generated code, align arguments on stack.
1100 // After aligning the frame, non-register arguments must be stored in 1097 // After aligning the frame, non-register arguments must be stored in
1101 // sp[0], sp[4], etc., not pushed. The argument count assumes all arguments 1098 // sp[0], sp[4], etc., not pushed. The argument count assumes all arguments
1102 // are word sized. If double arguments are used, this function assumes that 1099 // are word sized. If double arguments are used, this function assumes that
1103 // all double arguments are stored before core registers; otherwise the 1100 // all double arguments are stored before core registers; otherwise the
1104 // correct alignment of the double values is not guaranteed. 1101 // correct alignment of the double values is not guaranteed.
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after
1542 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1539 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1543 #else 1540 #else
1544 #define ACCESS_MASM(masm) masm-> 1541 #define ACCESS_MASM(masm) masm->
1545 #endif 1542 #endif
1546 1543
1547 1544
1548 } // namespace internal 1545 } // namespace internal
1549 } // namespace v8 1546 } // namespace v8
1550 1547
1551 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1548 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698