OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 | 174 |
175 #undef COND_TYPED_ARGS | 175 #undef COND_TYPED_ARGS |
176 #undef COND_ARGS | 176 #undef COND_ARGS |
177 #undef DECLARE_NOTARGET_PROTOTYPE | 177 #undef DECLARE_NOTARGET_PROTOTYPE |
178 #undef DECLARE_NORELOC_PROTOTYPE | 178 #undef DECLARE_NORELOC_PROTOTYPE |
179 #undef DECLARE_RELOC_PROTOTYPE | 179 #undef DECLARE_RELOC_PROTOTYPE |
180 #undef DECLARE_JUMP_CALL_PROTOTYPES | 180 #undef DECLARE_JUMP_CALL_PROTOTYPES |
181 #undef DECLARE_BRANCH_PROTOTYPES | 181 #undef DECLARE_BRANCH_PROTOTYPES |
182 | 182 |
183 void CallWithAstId(Handle<Code> code, | 183 void CallWithAstId(Handle<Code> code, |
184 RelocInfo::Mode rmode, | 184 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET, |
185 unsigned ast_id, | 185 unsigned ast_id = kNoASTId, |
186 Condition cond = al, | 186 Condition cond = al, |
187 Register r1 = zero_reg, | 187 Register r1 = zero_reg, |
188 const Operand& r2 = Operand(zero_reg)); | 188 const Operand& r2 = Operand(zero_reg)); |
189 | 189 |
190 int CallSize(Register reg); | 190 int CallSize(Register reg); |
191 int CallSize(Handle<Code> code, RelocInfo::Mode rmode); | 191 int CallSize(Handle<Code> code, RelocInfo::Mode rmode); |
192 | 192 |
193 // Emit code to discard a non-negative number of pointer-sized elements | 193 // Emit code to discard a non-negative number of pointer-sized elements |
194 // from the stack, clobbering only the sp register. | 194 // from the stack, clobbering only the sp register. |
195 void Drop(int count, | 195 void Drop(int count, |
(...skipping 1048 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1244 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1244 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
1245 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1245 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1246 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1246 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1247 #else | 1247 #else |
1248 #define ACCESS_MASM(masm) masm-> | 1248 #define ACCESS_MASM(masm) masm-> |
1249 #endif | 1249 #endif |
1250 | 1250 |
1251 } } // namespace v8::internal | 1251 } } // namespace v8::internal |
1252 | 1252 |
1253 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1253 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |