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 are | 5 // modification, are permitted provided that the following conditions are |
6 // met: | 6 // 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 1494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1505 return ExternalReference(Redirect(isolate, FUNCTION_ADDR(Debug_Break))); | 1505 return ExternalReference(Redirect(isolate, FUNCTION_ADDR(Debug_Break))); |
1506 } | 1506 } |
1507 | 1507 |
1508 | 1508 |
1509 ExternalReference ExternalReference::debug_step_in_fp_address( | 1509 ExternalReference ExternalReference::debug_step_in_fp_address( |
1510 Isolate* isolate) { | 1510 Isolate* isolate) { |
1511 return ExternalReference(isolate->debug()->step_in_fp_addr()); | 1511 return ExternalReference(isolate->debug()->step_in_fp_addr()); |
1512 } | 1512 } |
1513 | 1513 |
1514 | 1514 |
| 1515 ExternalReference ExternalReference::fixed_typed_array_base_data_offset() { |
| 1516 return ExternalReference(reinterpret_cast<void*>( |
| 1517 FixedTypedArrayBase::kDataOffset - kHeapObjectTag)); |
| 1518 } |
| 1519 |
| 1520 |
1515 bool operator==(ExternalReference lhs, ExternalReference rhs) { | 1521 bool operator==(ExternalReference lhs, ExternalReference rhs) { |
1516 return lhs.address() == rhs.address(); | 1522 return lhs.address() == rhs.address(); |
1517 } | 1523 } |
1518 | 1524 |
1519 | 1525 |
1520 bool operator!=(ExternalReference lhs, ExternalReference rhs) { | 1526 bool operator!=(ExternalReference lhs, ExternalReference rhs) { |
1521 return !(lhs == rhs); | 1527 return !(lhs == rhs); |
1522 } | 1528 } |
1523 | 1529 |
1524 | 1530 |
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1825 | 1831 |
1826 | 1832 |
1827 void Assembler::DataAlign(int m) { | 1833 void Assembler::DataAlign(int m) { |
1828 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); | 1834 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); |
1829 while ((pc_offset() & (m - 1)) != 0) { | 1835 while ((pc_offset() & (m - 1)) != 0) { |
1830 db(0); | 1836 db(0); |
1831 } | 1837 } |
1832 } | 1838 } |
1833 } // namespace internal | 1839 } // namespace internal |
1834 } // namespace v8 | 1840 } // namespace v8 |
OLD | NEW |