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

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

Issue 137663005: MIPS: This is a preview of a first step towards unification of the hydrogen call machinery. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/mips/lithium-mips.cc ('k') | src/mips/macro-assembler-mips.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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 883 matching lines...) Expand 10 before | Expand all | Expand 10 after
894 // ------------------------------------------------------------------------- 894 // -------------------------------------------------------------------------
895 // JavaScript invokes. 895 // JavaScript invokes.
896 896
897 // Invoke the JavaScript function code by either calling or jumping. 897 // Invoke the JavaScript function code by either calling or jumping.
898 void InvokeCode(Register code, 898 void InvokeCode(Register code,
899 const ParameterCount& expected, 899 const ParameterCount& expected,
900 const ParameterCount& actual, 900 const ParameterCount& actual,
901 InvokeFlag flag, 901 InvokeFlag flag,
902 const CallWrapper& call_wrapper); 902 const CallWrapper& call_wrapper);
903 903
904 void InvokeCode(Handle<Code> code,
905 const ParameterCount& expected,
906 const ParameterCount& actual,
907 RelocInfo::Mode rmode,
908 InvokeFlag flag);
909
910 // Invoke the JavaScript function in the given register. Changes the 904 // Invoke the JavaScript function in the given register. Changes the
911 // current context to the context in the function before invoking. 905 // current context to the context in the function before invoking.
912 void InvokeFunction(Register function, 906 void InvokeFunction(Register function,
913 const ParameterCount& actual, 907 const ParameterCount& actual,
914 InvokeFlag flag, 908 InvokeFlag flag,
915 const CallWrapper& call_wrapper); 909 const CallWrapper& call_wrapper);
916 910
917 void InvokeFunction(Register function, 911 void InvokeFunction(Register function,
918 const ParameterCount& expected, 912 const ParameterCount& expected,
919 const ParameterCount& actual, 913 const ParameterCount& actual,
(...skipping 767 matching lines...) Expand 10 before | Expand all | Expand 10 after
1687 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 1681 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
1688 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1682 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1689 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1683 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1690 #else 1684 #else
1691 #define ACCESS_MASM(masm) masm-> 1685 #define ACCESS_MASM(masm) masm->
1692 #endif 1686 #endif
1693 1687
1694 } } // namespace v8::internal 1688 } } // namespace v8::internal
1695 1689
1696 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1690 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-mips.cc ('k') | src/mips/macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698