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

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

Issue 128303002: Merged r18000, r18013, r18298, r18319 into 3.22 branch. (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.22
Patch Set: Fix mips 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-codegen-mips.cc ('k') | src/objects.h » ('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 1192 matching lines...) Expand 10 before | Expand all | Expand 10 after
1203 // Call a runtime routine. 1203 // Call a runtime routine.
1204 void CallRuntime(const Runtime::Function* f, 1204 void CallRuntime(const Runtime::Function* f,
1205 int num_arguments, 1205 int num_arguments,
1206 SaveFPRegsMode save_doubles = kDontSaveFPRegs); 1206 SaveFPRegsMode save_doubles = kDontSaveFPRegs);
1207 void CallRuntimeSaveDoubles(Runtime::FunctionId id) { 1207 void CallRuntimeSaveDoubles(Runtime::FunctionId id) {
1208 const Runtime::Function* function = Runtime::FunctionForId(id); 1208 const Runtime::Function* function = Runtime::FunctionForId(id);
1209 CallRuntime(function, function->nargs, kSaveFPRegs); 1209 CallRuntime(function, function->nargs, kSaveFPRegs);
1210 } 1210 }
1211 1211
1212 // Convenience function: Same as above, but takes the fid instead. 1212 // Convenience function: Same as above, but takes the fid instead.
1213 void CallRuntime(Runtime::FunctionId id, int num_arguments) { 1213 void CallRuntime(Runtime::FunctionId id,
1214 CallRuntime(Runtime::FunctionForId(id), num_arguments); 1214 int num_arguments,
1215 SaveFPRegsMode save_doubles = kDontSaveFPRegs) {
1216 CallRuntime(Runtime::FunctionForId(id), num_arguments, save_doubles);
1215 } 1217 }
1216 1218
1217 // Convenience function: call an external reference. 1219 // Convenience function: call an external reference.
1218 void CallExternalReference(const ExternalReference& ext, 1220 void CallExternalReference(const ExternalReference& ext,
1219 int num_arguments, 1221 int num_arguments,
1220 BranchDelaySlot bd = PROTECT); 1222 BranchDelaySlot bd = PROTECT);
1221 1223
1222 // Tail call of a runtime routine (jump). 1224 // Tail call of a runtime routine (jump).
1223 // Like JumpToExternalReference, but also takes care of passing the number 1225 // Like JumpToExternalReference, but also takes care of passing the number
1224 // of parameters. 1226 // of parameters.
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
1656 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 1658 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
1657 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1659 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1658 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1660 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1659 #else 1661 #else
1660 #define ACCESS_MASM(masm) masm-> 1662 #define ACCESS_MASM(masm) masm->
1661 #endif 1663 #endif
1662 1664
1663 } } // namespace v8::internal 1665 } } // namespace v8::internal
1664 1666
1665 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1667 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698