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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 void Jump(Register target, COND_ARGS); | 175 void Jump(Register target, COND_ARGS); |
176 void Jump(intptr_t target, RelocInfo::Mode rmode, COND_ARGS); | 176 void Jump(intptr_t target, RelocInfo::Mode rmode, COND_ARGS); |
177 void Jump(Address target, RelocInfo::Mode rmode, COND_ARGS); | 177 void Jump(Address target, RelocInfo::Mode rmode, COND_ARGS); |
178 void Jump(Handle<Code> code, RelocInfo::Mode rmode, COND_ARGS); | 178 void Jump(Handle<Code> code, RelocInfo::Mode rmode, COND_ARGS); |
179 static int CallSize(Register target, COND_ARGS); | 179 static int CallSize(Register target, COND_ARGS); |
180 void Call(Register target, COND_ARGS); | 180 void Call(Register target, COND_ARGS); |
181 static int CallSize(Address target, RelocInfo::Mode rmode, COND_ARGS); | 181 static int CallSize(Address target, RelocInfo::Mode rmode, COND_ARGS); |
182 void Call(Address target, RelocInfo::Mode rmode, COND_ARGS); | 182 void Call(Address target, RelocInfo::Mode rmode, COND_ARGS); |
183 static int CallSize(Handle<Code> code, | 183 static int CallSize(Handle<Code> code, |
184 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET, | 184 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET, |
185 unsigned ast_id = kNoASTId, | 185 TypeFeedbackId ast_id = TypeFeedbackId::None(), |
186 COND_ARGS); | 186 COND_ARGS); |
187 void Call(Handle<Code> code, | 187 void Call(Handle<Code> code, |
188 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET, | 188 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET, |
189 unsigned ast_id = kNoASTId, | 189 TypeFeedbackId ast_id = TypeFeedbackId::None(), |
190 COND_ARGS); | 190 COND_ARGS); |
191 void Ret(COND_ARGS); | 191 void Ret(COND_ARGS); |
192 inline void Ret(BranchDelaySlot bd, Condition cond = al, | 192 inline void Ret(BranchDelaySlot bd, Condition cond = al, |
193 Register rs = zero_reg, const Operand& rt = Operand(zero_reg)) { | 193 Register rs = zero_reg, const Operand& rt = Operand(zero_reg)) { |
194 Ret(cond, rs, rt, bd); | 194 Ret(cond, rs, rt, bd); |
195 } | 195 } |
196 | 196 |
197 void Branch(Label* L, | 197 void Branch(Label* L, |
198 Condition cond, | 198 Condition cond, |
199 Register rs, | 199 Register rs, |
(...skipping 1335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1535 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1535 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
1536 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1536 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1537 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1537 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1538 #else | 1538 #else |
1539 #define ACCESS_MASM(masm) masm-> | 1539 #define ACCESS_MASM(masm) masm-> |
1540 #endif | 1540 #endif |
1541 | 1541 |
1542 } } // namespace v8::internal | 1542 } } // namespace v8::internal |
1543 | 1543 |
1544 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1544 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |