| 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 1310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1321 | 1321 |
| 1322 void Assembler::test(const Operand& op, const Immediate& imm) { | 1322 void Assembler::test(const Operand& op, const Immediate& imm) { |
| 1323 EnsureSpace ensure_space(this); | 1323 EnsureSpace ensure_space(this); |
| 1324 last_pc_ = pc_; | 1324 last_pc_ = pc_; |
| 1325 EMIT(0xF7); | 1325 EMIT(0xF7); |
| 1326 emit_operand(eax, op); | 1326 emit_operand(eax, op); |
| 1327 emit(imm); | 1327 emit(imm); |
| 1328 } | 1328 } |
| 1329 | 1329 |
| 1330 | 1330 |
| 1331 void Assembler::test_b(const Operand& op, uint8_t imm8) { |
| 1332 EnsureSpace ensure_space(this); |
| 1333 last_pc_ = pc_; |
| 1334 EMIT(0xF6); |
| 1335 emit_operand(eax, op); |
| 1336 EMIT(imm8); |
| 1337 } |
| 1338 |
| 1339 |
| 1331 void Assembler::xor_(Register dst, int32_t imm32) { | 1340 void Assembler::xor_(Register dst, int32_t imm32) { |
| 1332 EnsureSpace ensure_space(this); | 1341 EnsureSpace ensure_space(this); |
| 1333 last_pc_ = pc_; | 1342 last_pc_ = pc_; |
| 1334 emit_arith(6, Operand(dst), Immediate(imm32)); | 1343 emit_arith(6, Operand(dst), Immediate(imm32)); |
| 1335 } | 1344 } |
| 1336 | 1345 |
| 1337 | 1346 |
| 1338 void Assembler::xor_(Register dst, const Operand& src) { | 1347 void Assembler::xor_(Register dst, const Operand& src) { |
| 1339 EnsureSpace ensure_space(this); | 1348 EnsureSpace ensure_space(this); |
| 1340 last_pc_ = pc_; | 1349 last_pc_ = pc_; |
| (...skipping 1200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2541 fprintf(coverage_log, "%s\n", file_line); | 2550 fprintf(coverage_log, "%s\n", file_line); |
| 2542 fflush(coverage_log); | 2551 fflush(coverage_log); |
| 2543 } | 2552 } |
| 2544 } | 2553 } |
| 2545 | 2554 |
| 2546 #endif | 2555 #endif |
| 2547 | 2556 |
| 2548 } } // namespace v8::internal | 2557 } } // namespace v8::internal |
| 2549 | 2558 |
| 2550 #endif // V8_TARGET_ARCH_IA32 | 2559 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |