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 1247 matching lines...) Loading... |
1258 ExternalReference ExternalReference::new_space_start(Isolate* isolate) { | 1258 ExternalReference ExternalReference::new_space_start(Isolate* isolate) { |
1259 return ExternalReference(isolate->heap()->NewSpaceStart()); | 1259 return ExternalReference(isolate->heap()->NewSpaceStart()); |
1260 } | 1260 } |
1261 | 1261 |
1262 | 1262 |
1263 ExternalReference ExternalReference::store_buffer_top(Isolate* isolate) { | 1263 ExternalReference ExternalReference::store_buffer_top(Isolate* isolate) { |
1264 return ExternalReference(isolate->heap()->store_buffer_top_address()); | 1264 return ExternalReference(isolate->heap()->store_buffer_top_address()); |
1265 } | 1265 } |
1266 | 1266 |
1267 | 1267 |
1268 ExternalReference ExternalReference::new_space_mask(Isolate* isolate) { | |
1269 return ExternalReference(reinterpret_cast<Address>( | |
1270 isolate->heap()->NewSpaceMask())); | |
1271 } | |
1272 | |
1273 | |
1274 ExternalReference ExternalReference::new_space_allocation_top_address( | 1268 ExternalReference ExternalReference::new_space_allocation_top_address( |
1275 Isolate* isolate) { | 1269 Isolate* isolate) { |
1276 return ExternalReference(isolate->heap()->NewSpaceAllocationTopAddress()); | 1270 return ExternalReference(isolate->heap()->NewSpaceAllocationTopAddress()); |
1277 } | 1271 } |
1278 | 1272 |
1279 | 1273 |
1280 ExternalReference ExternalReference::new_space_allocation_limit_address( | 1274 ExternalReference ExternalReference::new_space_allocation_limit_address( |
1281 Isolate* isolate) { | 1275 Isolate* isolate) { |
1282 return ExternalReference(isolate->heap()->NewSpaceAllocationLimitAddress()); | 1276 return ExternalReference(isolate->heap()->NewSpaceAllocationLimitAddress()); |
1283 } | 1277 } |
(...skipping 650 matching lines...) Loading... |
1934 | 1928 |
1935 | 1929 |
1936 void Assembler::DataAlign(int m) { | 1930 void Assembler::DataAlign(int m) { |
1937 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); | 1931 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); |
1938 while ((pc_offset() & (m - 1)) != 0) { | 1932 while ((pc_offset() & (m - 1)) != 0) { |
1939 db(0); | 1933 db(0); |
1940 } | 1934 } |
1941 } | 1935 } |
1942 } // namespace internal | 1936 } // namespace internal |
1943 } // namespace v8 | 1937 } // namespace v8 |
OLD | NEW |