OLD | NEW |
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
2 // All Rights Reserved. | 2 // All Rights Reserved. |
3 // | 3 // |
4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
5 // modification, are permitted provided that the following conditions | 5 // modification, are permitted provided that the following conditions |
6 // are met: | 6 // are met: |
7 // | 7 // |
8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
10 // | 10 // |
(...skipping 1243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1254 | 1254 |
1255 | 1255 |
1256 void Assembler::test(Register reg, const Operand& op) { | 1256 void Assembler::test(Register reg, const Operand& op) { |
1257 EnsureSpace ensure_space(this); | 1257 EnsureSpace ensure_space(this); |
1258 last_pc_ = pc_; | 1258 last_pc_ = pc_; |
1259 EMIT(0x85); | 1259 EMIT(0x85); |
1260 emit_operand(reg, op); | 1260 emit_operand(reg, op); |
1261 } | 1261 } |
1262 | 1262 |
1263 | 1263 |
| 1264 void Assembler::test_b(Register reg, const Operand& op) { |
| 1265 EnsureSpace ensure_space(this); |
| 1266 last_pc_ = pc_; |
| 1267 EMIT(0x84); |
| 1268 emit_operand(reg, op); |
| 1269 } |
| 1270 |
| 1271 |
1264 void Assembler::test(const Operand& op, const Immediate& imm) { | 1272 void Assembler::test(const Operand& op, const Immediate& imm) { |
1265 EnsureSpace ensure_space(this); | 1273 EnsureSpace ensure_space(this); |
1266 last_pc_ = pc_; | 1274 last_pc_ = pc_; |
1267 EMIT(0xF7); | 1275 EMIT(0xF7); |
1268 emit_operand(eax, op); | 1276 emit_operand(eax, op); |
1269 emit(imm); | 1277 emit(imm); |
1270 } | 1278 } |
1271 | 1279 |
1272 | 1280 |
1273 void Assembler::xor_(Register dst, int32_t imm32) { | 1281 void Assembler::xor_(Register dst, int32_t imm32) { |
(...skipping 1092 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2366 push_insn[1] = 13; // Skip over coverage insns. | 2374 push_insn[1] = 13; // Skip over coverage insns. |
2367 if (coverage_log != NULL) { | 2375 if (coverage_log != NULL) { |
2368 fprintf(coverage_log, "%s\n", file_line); | 2376 fprintf(coverage_log, "%s\n", file_line); |
2369 fflush(coverage_log); | 2377 fflush(coverage_log); |
2370 } | 2378 } |
2371 } | 2379 } |
2372 | 2380 |
2373 #endif | 2381 #endif |
2374 | 2382 |
2375 } } // namespace v8::internal | 2383 } } // namespace v8::internal |
OLD | NEW |