| 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 1123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1134 li(s0, num_args); | 1134 li(s0, num_args); |
| 1135 li(s1, (num_args - 1) * kPointerSize); | 1135 li(s1, (num_args - 1) * kPointerSize); |
| 1136 } | 1136 } |
| 1137 | 1137 |
| 1138 inline void PrepareCEntryFunction(const ExternalReference& ref) { | 1138 inline void PrepareCEntryFunction(const ExternalReference& ref) { |
| 1139 li(s2, Operand(ref)); | 1139 li(s2, Operand(ref)); |
| 1140 } | 1140 } |
| 1141 | 1141 |
| 1142 // Call a code stub. | 1142 // Call a code stub. |
| 1143 void CallStub(CodeStub* stub, | 1143 void CallStub(CodeStub* stub, |
| 1144 TypeFeedbackId ast_id = TypeFeedbackId::None(), |
| 1144 Condition cond = cc_always, | 1145 Condition cond = cc_always, |
| 1145 Register r1 = zero_reg, | 1146 Register r1 = zero_reg, |
| 1146 const Operand& r2 = Operand(zero_reg), | 1147 const Operand& r2 = Operand(zero_reg), |
| 1147 BranchDelaySlot bd = PROTECT); | 1148 BranchDelaySlot bd = PROTECT); |
| 1148 | 1149 |
| 1149 // Tail call a code stub (jump). | 1150 // Tail call a code stub (jump). |
| 1150 void TailCallStub(CodeStub* stub); | 1151 void TailCallStub(CodeStub* stub); |
| 1151 | 1152 |
| 1152 void CallJSExitStub(CodeStub* stub); | 1153 void CallJSExitStub(CodeStub* stub); |
| 1153 | 1154 |
| (...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1556 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1557 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
| 1557 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1558 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1558 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1559 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1559 #else | 1560 #else |
| 1560 #define ACCESS_MASM(masm) masm-> | 1561 #define ACCESS_MASM(masm) masm-> |
| 1561 #endif | 1562 #endif |
| 1562 | 1563 |
| 1563 } } // namespace v8::internal | 1564 } } // namespace v8::internal |
| 1564 | 1565 |
| 1565 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1566 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |