| 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 1781 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1792 FUNCTION_ADDR(modulo), | 1792 FUNCTION_ADDR(modulo), |
| 1793 BUILTIN_FP_FP_CALL)); | 1793 BUILTIN_FP_FP_CALL)); |
| 1794 } | 1794 } |
| 1795 | 1795 |
| 1796 | 1796 |
| 1797 ExternalReference ExternalReference::debug_step_in_enabled_address( | 1797 ExternalReference ExternalReference::debug_step_in_enabled_address( |
| 1798 Isolate* isolate) { | 1798 Isolate* isolate) { |
| 1799 return ExternalReference(isolate->debug()->step_in_enabled_address()); | 1799 return ExternalReference(isolate->debug()->step_in_enabled_address()); |
| 1800 } | 1800 } |
| 1801 | 1801 |
| 1802 ExternalReference ExternalReference::debug_suspended_generator_address( |
| 1803 Isolate* isolate) { |
| 1804 return ExternalReference(isolate->debug()->suspended_generator_address()); |
| 1805 } |
| 1802 | 1806 |
| 1803 ExternalReference ExternalReference::fixed_typed_array_base_data_offset() { | 1807 ExternalReference ExternalReference::fixed_typed_array_base_data_offset() { |
| 1804 return ExternalReference(reinterpret_cast<void*>( | 1808 return ExternalReference(reinterpret_cast<void*>( |
| 1805 FixedTypedArrayBase::kDataOffset - kHeapObjectTag)); | 1809 FixedTypedArrayBase::kDataOffset - kHeapObjectTag)); |
| 1806 } | 1810 } |
| 1807 | 1811 |
| 1808 | 1812 |
| 1809 bool operator==(ExternalReference lhs, ExternalReference rhs) { | 1813 bool operator==(ExternalReference lhs, ExternalReference rhs) { |
| 1810 return lhs.address() == rhs.address(); | 1814 return lhs.address() == rhs.address(); |
| 1811 } | 1815 } |
| (...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2113 | 2117 |
| 2114 | 2118 |
| 2115 void Assembler::DataAlign(int m) { | 2119 void Assembler::DataAlign(int m) { |
| 2116 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); | 2120 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); |
| 2117 while ((pc_offset() & (m - 1)) != 0) { | 2121 while ((pc_offset() & (m - 1)) != 0) { |
| 2118 db(0); | 2122 db(0); |
| 2119 } | 2123 } |
| 2120 } | 2124 } |
| 2121 } // namespace internal | 2125 } // namespace internal |
| 2122 } // namespace v8 | 2126 } // namespace v8 |
| OLD | NEW |