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

Side by Side Diff: src/x64/macro-assembler-x64.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/x64/code-stubs-x64.cc ('k') | src/x64/macro-assembler-x64.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_X64_MACRO_ASSEMBLER_X64_H_ 5 #ifndef V8_X64_MACRO_ASSEMBLER_X64_H_
6 #define V8_X64_MACRO_ASSEMBLER_X64_H_ 6 #define V8_X64_MACRO_ASSEMBLER_X64_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/base/flags.h" 10 #include "src/base/flags.h"
(...skipping 1406 matching lines...) Expand 10 before | Expand all | Expand 10 after
1417 } 1417 }
1418 1418
1419 // Convenience function: call an external reference. 1419 // Convenience function: call an external reference.
1420 void CallExternalReference(const ExternalReference& ext, 1420 void CallExternalReference(const ExternalReference& ext,
1421 int num_arguments); 1421 int num_arguments);
1422 1422
1423 // Tail call of a runtime routine (jump). 1423 // Tail call of a runtime routine (jump).
1424 // Like JumpToExternalReference, but also takes care of passing the number 1424 // Like JumpToExternalReference, but also takes care of passing the number
1425 // of parameters. 1425 // of parameters.
1426 void TailCallExternalReference(const ExternalReference& ext, 1426 void TailCallExternalReference(const ExternalReference& ext,
1427 int num_arguments, 1427 int num_arguments);
1428 int result_size);
1429 1428
1430 // Convenience function: tail call a runtime routine (jump). 1429 // Convenience function: tail call a runtime routine (jump).
1431 void TailCallRuntime(Runtime::FunctionId fid, 1430 void TailCallRuntime(Runtime::FunctionId fid, int num_arguments);
1432 int num_arguments,
1433 int result_size);
1434 1431
1435 // Jump to a runtime routine. 1432 // Jump to a runtime routine.
1436 void JumpToExternalReference(const ExternalReference& ext, int result_size); 1433 void JumpToExternalReference(const ExternalReference& ext);
1437 1434
1438 // Before calling a C-function from generated code, align arguments on stack. 1435 // Before calling a C-function from generated code, align arguments on stack.
1439 // After aligning the frame, arguments must be stored in rsp[0], rsp[8], 1436 // After aligning the frame, arguments must be stored in rsp[0], rsp[8],
1440 // etc., not pushed. The argument count assumes all arguments are word sized. 1437 // etc., not pushed. The argument count assumes all arguments are word sized.
1441 // The number of slots reserved for arguments depends on platform. On Windows 1438 // The number of slots reserved for arguments depends on platform. On Windows
1442 // stack slots are reserved for the arguments passed in registers. On other 1439 // stack slots are reserved for the arguments passed in registers. On other
1443 // platforms stack slots are only reserved for the arguments actually passed 1440 // platforms stack slots are only reserved for the arguments actually passed
1444 // on the stack. 1441 // on the stack.
1445 void PrepareCallCFunction(int num_arguments); 1442 void PrepareCallCFunction(int num_arguments);
1446 1443
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
1739 } \ 1736 } \
1740 masm-> 1737 masm->
1741 #else 1738 #else
1742 #define ACCESS_MASM(masm) masm-> 1739 #define ACCESS_MASM(masm) masm->
1743 #endif 1740 #endif
1744 1741
1745 } // namespace internal 1742 } // namespace internal
1746 } // namespace v8 1743 } // namespace v8
1747 1744
1748 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1745 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/x64/code-stubs-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698