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

Side by Side Diff: src/ia32/macro-assembler-ia32.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/ia32/code-stubs-ia32.cc ('k') | src/ia32/macro-assembler-ia32.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_IA32_MACRO_ASSEMBLER_IA32_H_ 5 #ifndef V8_IA32_MACRO_ASSEMBLER_IA32_H_
6 #define V8_IA32_MACRO_ASSEMBLER_IA32_H_ 6 #define V8_IA32_MACRO_ASSEMBLER_IA32_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 671 matching lines...) Expand 10 before | Expand all | Expand 10 after
682 CallRuntime(Runtime::FunctionForId(id), num_arguments, save_doubles); 682 CallRuntime(Runtime::FunctionForId(id), num_arguments, save_doubles);
683 } 683 }
684 684
685 // Convenience function: call an external reference. 685 // Convenience function: call an external reference.
686 void CallExternalReference(ExternalReference ref, int num_arguments); 686 void CallExternalReference(ExternalReference ref, int num_arguments);
687 687
688 // Tail call of a runtime routine (jump). 688 // Tail call of a runtime routine (jump).
689 // Like JumpToExternalReference, but also takes care of passing the number 689 // Like JumpToExternalReference, but also takes care of passing the number
690 // of parameters. 690 // of parameters.
691 void TailCallExternalReference(const ExternalReference& ext, 691 void TailCallExternalReference(const ExternalReference& ext,
692 int num_arguments, int result_size); 692 int num_arguments);
693 693
694 // Convenience function: tail call a runtime routine (jump). 694 // Convenience function: tail call a runtime routine (jump).
695 void TailCallRuntime(Runtime::FunctionId fid, int num_arguments, 695 void TailCallRuntime(Runtime::FunctionId fid, int num_arguments);
696 int result_size);
697 696
698 // Before calling a C-function from generated code, align arguments on stack. 697 // Before calling a C-function from generated code, align arguments on stack.
699 // After aligning the frame, arguments must be stored in esp[0], esp[4], 698 // After aligning the frame, arguments must be stored in esp[0], esp[4],
700 // etc., not pushed. The argument count assumes all arguments are word sized. 699 // etc., not pushed. The argument count assumes all arguments are word sized.
701 // Some compilers/platforms require the stack to be aligned when calling 700 // Some compilers/platforms require the stack to be aligned when calling
702 // C++ code. 701 // C++ code.
703 // Needs a scratch register to do some arithmetic. This register will be 702 // Needs a scratch register to do some arithmetic. This register will be
704 // trashed. 703 // trashed.
705 void PrepareCallCFunction(int num_arguments, Register scratch); 704 void PrepareCallCFunction(int num_arguments, Register scratch);
706 705
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
1003 } \ 1002 } \
1004 masm-> 1003 masm->
1005 #else 1004 #else
1006 #define ACCESS_MASM(masm) masm-> 1005 #define ACCESS_MASM(masm) masm->
1007 #endif 1006 #endif
1008 1007
1009 } // namespace internal 1008 } // namespace internal
1010 } // namespace v8 1009 } // namespace v8
1011 1010
1012 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 1011 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698