| OLD | NEW |
| 1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 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 1431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1442 store_rax(ref.address(), RelocInfo::EXTERNAL_REFERENCE); | 1442 store_rax(ref.address(), RelocInfo::EXTERNAL_REFERENCE); |
| 1443 } | 1443 } |
| 1444 | 1444 |
| 1445 | 1445 |
| 1446 void Assembler::testb(Register reg, Immediate mask) { | 1446 void Assembler::testb(Register reg, Immediate mask) { |
| 1447 ASSERT(is_int8(mask.value_)); | 1447 ASSERT(is_int8(mask.value_)); |
| 1448 EnsureSpace ensure_space(this); | 1448 EnsureSpace ensure_space(this); |
| 1449 last_pc_ = pc_; | 1449 last_pc_ = pc_; |
| 1450 if (reg.is(rax)) { | 1450 if (reg.is(rax)) { |
| 1451 emit(0xA8); | 1451 emit(0xA8); |
| 1452 emit(mask); | 1452 emit(mask.value_); // Low byte emitted. |
| 1453 } else { | 1453 } else { |
| 1454 if (reg.code() > 3) { | 1454 if (reg.code() > 3) { |
| 1455 // Register is not one of al, bl, cl, dl. Its encoding needs REX. | 1455 // Register is not one of al, bl, cl, dl. Its encoding needs REX. |
| 1456 emit_rex_32(reg); | 1456 emit_rex_32(reg); |
| 1457 } | 1457 } |
| 1458 emit(0xF6); | 1458 emit(0xF6); |
| 1459 emit_modrm(0x0, reg); | 1459 emit_modrm(0x0, reg); |
| 1460 emit(mask.value_); // Low byte emitted. | 1460 emit(mask.value_); // Low byte emitted. |
| 1461 } | 1461 } |
| 1462 } | 1462 } |
| (...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2135 bool BreakLocationIterator::IsDebugBreakAtReturn() { | 2135 bool BreakLocationIterator::IsDebugBreakAtReturn() { |
| 2136 UNIMPLEMENTED(); | 2136 UNIMPLEMENTED(); |
| 2137 return false; | 2137 return false; |
| 2138 } | 2138 } |
| 2139 | 2139 |
| 2140 void BreakLocationIterator::SetDebugBreakAtReturn() { | 2140 void BreakLocationIterator::SetDebugBreakAtReturn() { |
| 2141 UNIMPLEMENTED(); | 2141 UNIMPLEMENTED(); |
| 2142 } | 2142 } |
| 2143 | 2143 |
| 2144 } } // namespace v8::internal | 2144 } } // namespace v8::internal |
| OLD | NEW |