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 1774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1785 FUNCTION_ADDR(modulo), | 1785 FUNCTION_ADDR(modulo), |
1786 BUILTIN_FP_FP_CALL)); | 1786 BUILTIN_FP_FP_CALL)); |
1787 } | 1787 } |
1788 | 1788 |
1789 | 1789 |
1790 ExternalReference ExternalReference::debug_step_in_enabled_address( | 1790 ExternalReference ExternalReference::debug_step_in_enabled_address( |
1791 Isolate* isolate) { | 1791 Isolate* isolate) { |
1792 return ExternalReference(isolate->debug()->step_in_enabled_address()); | 1792 return ExternalReference(isolate->debug()->step_in_enabled_address()); |
1793 } | 1793 } |
1794 | 1794 |
| 1795 ExternalReference ExternalReference::debug_suspended_generator_address( |
| 1796 Isolate* isolate) { |
| 1797 return ExternalReference(isolate->debug()->suspended_generator_address()); |
| 1798 } |
1795 | 1799 |
1796 ExternalReference ExternalReference::fixed_typed_array_base_data_offset() { | 1800 ExternalReference ExternalReference::fixed_typed_array_base_data_offset() { |
1797 return ExternalReference(reinterpret_cast<void*>( | 1801 return ExternalReference(reinterpret_cast<void*>( |
1798 FixedTypedArrayBase::kDataOffset - kHeapObjectTag)); | 1802 FixedTypedArrayBase::kDataOffset - kHeapObjectTag)); |
1799 } | 1803 } |
1800 | 1804 |
1801 | 1805 |
1802 bool operator==(ExternalReference lhs, ExternalReference rhs) { | 1806 bool operator==(ExternalReference lhs, ExternalReference rhs) { |
1803 return lhs.address() == rhs.address(); | 1807 return lhs.address() == rhs.address(); |
1804 } | 1808 } |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2106 | 2110 |
2107 | 2111 |
2108 void Assembler::DataAlign(int m) { | 2112 void Assembler::DataAlign(int m) { |
2109 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); | 2113 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); |
2110 while ((pc_offset() & (m - 1)) != 0) { | 2114 while ((pc_offset() & (m - 1)) != 0) { |
2111 db(0); | 2115 db(0); |
2112 } | 2116 } |
2113 } | 2117 } |
2114 } // namespace internal | 2118 } // namespace internal |
2115 } // namespace v8 | 2119 } // namespace v8 |
OLD | NEW |