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 1123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1134 return ExternalReference(isolate->regexp_stack()->limit_address()); | 1134 return ExternalReference(isolate->regexp_stack()->limit_address()); |
1135 } | 1135 } |
1136 | 1136 |
1137 | 1137 |
1138 ExternalReference ExternalReference::new_space_start(Isolate* isolate) { | 1138 ExternalReference ExternalReference::new_space_start(Isolate* isolate) { |
1139 return ExternalReference(isolate->heap()->NewSpaceStart()); | 1139 return ExternalReference(isolate->heap()->NewSpaceStart()); |
1140 } | 1140 } |
1141 | 1141 |
1142 | 1142 |
1143 ExternalReference ExternalReference::store_buffer_top(Isolate* isolate) { | 1143 ExternalReference ExternalReference::store_buffer_top(Isolate* isolate) { |
1144 return ExternalReference(isolate->heap()->store_buffer()->TopAddress()); | 1144 return ExternalReference(isolate->heap()->store_buffer_top_address()); |
1145 } | 1145 } |
1146 | 1146 |
1147 | 1147 |
1148 ExternalReference ExternalReference::new_space_mask(Isolate* isolate) { | 1148 ExternalReference ExternalReference::new_space_mask(Isolate* isolate) { |
1149 return ExternalReference(reinterpret_cast<Address>( | 1149 return ExternalReference(reinterpret_cast<Address>( |
1150 isolate->heap()->NewSpaceMask())); | 1150 isolate->heap()->NewSpaceMask())); |
1151 } | 1151 } |
1152 | 1152 |
1153 | 1153 |
1154 ExternalReference ExternalReference::new_space_allocation_top_address( | 1154 ExternalReference ExternalReference::new_space_allocation_top_address( |
(...skipping 666 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1821 | 1821 |
1822 | 1822 |
1823 void Assembler::DataAlign(int m) { | 1823 void Assembler::DataAlign(int m) { |
1824 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); | 1824 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); |
1825 while ((pc_offset() & (m - 1)) != 0) { | 1825 while ((pc_offset() & (m - 1)) != 0) { |
1826 db(0); | 1826 db(0); |
1827 } | 1827 } |
1828 } | 1828 } |
1829 } // namespace internal | 1829 } // namespace internal |
1830 } // namespace v8 | 1830 } // namespace v8 |
OLD | NEW |