| OLD | NEW |
| 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 1176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1187 Register r1 = zero_reg, | 1187 Register r1 = zero_reg, |
| 1188 const Operand& r2 = Operand(zero_reg), | 1188 const Operand& r2 = Operand(zero_reg), |
| 1189 BranchDelaySlot bd = PROTECT); | 1189 BranchDelaySlot bd = PROTECT); |
| 1190 | 1190 |
| 1191 // Tail call a code stub (jump). | 1191 // Tail call a code stub (jump). |
| 1192 void TailCallStub(CodeStub* stub); | 1192 void TailCallStub(CodeStub* stub); |
| 1193 | 1193 |
| 1194 void CallJSExitStub(CodeStub* stub); | 1194 void CallJSExitStub(CodeStub* stub); |
| 1195 | 1195 |
| 1196 // Call a runtime routine. | 1196 // Call a runtime routine. |
| 1197 void CallRuntime(const Runtime::Function* f, int num_arguments); | 1197 void CallRuntime(const Runtime::Function* f, |
| 1198 int num_arguments, |
| 1199 SaveFPRegsMode save_doubles = kDontSaveFPRegs); |
| 1198 void CallRuntimeSaveDoubles(Runtime::FunctionId id); | 1200 void CallRuntimeSaveDoubles(Runtime::FunctionId id); |
| 1199 | 1201 |
| 1200 // Convenience function: Same as above, but takes the fid instead. | 1202 // Convenience function: Same as above, but takes the fid instead. |
| 1201 void CallRuntime(Runtime::FunctionId fid, int num_arguments); | 1203 void CallRuntime(Runtime::FunctionId fid, |
| 1204 int num_arguments, |
| 1205 SaveFPRegsMode save_doubles = kDontSaveFPRegs); |
| 1202 | 1206 |
| 1203 // Convenience function: call an external reference. | 1207 // Convenience function: call an external reference. |
| 1204 void CallExternalReference(const ExternalReference& ext, | 1208 void CallExternalReference(const ExternalReference& ext, |
| 1205 int num_arguments, | 1209 int num_arguments, |
| 1206 BranchDelaySlot bd = PROTECT); | 1210 BranchDelaySlot bd = PROTECT); |
| 1207 | 1211 |
| 1208 // Tail call of a runtime routine (jump). | 1212 // Tail call of a runtime routine (jump). |
| 1209 // Like JumpToExternalReference, but also takes care of passing the number | 1213 // Like JumpToExternalReference, but also takes care of passing the number |
| 1210 // of parameters. | 1214 // of parameters. |
| 1211 void TailCallExternalReference(const ExternalReference& ext, | 1215 void TailCallExternalReference(const ExternalReference& ext, |
| (...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1615 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1619 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
| 1616 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1620 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1617 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1621 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1618 #else | 1622 #else |
| 1619 #define ACCESS_MASM(masm) masm-> | 1623 #define ACCESS_MASM(masm) masm-> |
| 1620 #endif | 1624 #endif |
| 1621 | 1625 |
| 1622 } } // namespace v8::internal | 1626 } } // namespace v8::internal |
| 1623 | 1627 |
| 1624 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1628 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |