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 1385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1396 Isolate* isolate) { | 1396 Isolate* isolate) { |
1397 return ExternalReference(isolate->stack_guard()->address_of_real_jslimit()); | 1397 return ExternalReference(isolate->stack_guard()->address_of_real_jslimit()); |
1398 } | 1398 } |
1399 | 1399 |
1400 | 1400 |
1401 ExternalReference ExternalReference::address_of_regexp_stack_limit( | 1401 ExternalReference ExternalReference::address_of_regexp_stack_limit( |
1402 Isolate* isolate) { | 1402 Isolate* isolate) { |
1403 return ExternalReference(isolate->regexp_stack()->limit_address()); | 1403 return ExternalReference(isolate->regexp_stack()->limit_address()); |
1404 } | 1404 } |
1405 | 1405 |
1406 | |
1407 ExternalReference ExternalReference::new_space_start(Isolate* isolate) { | |
1408 return ExternalReference(isolate->heap()->NewSpaceStart()); | |
1409 } | |
1410 | |
1411 | |
1412 ExternalReference ExternalReference::store_buffer_top(Isolate* isolate) { | 1406 ExternalReference ExternalReference::store_buffer_top(Isolate* isolate) { |
1413 return ExternalReference(isolate->heap()->store_buffer_top_address()); | 1407 return ExternalReference(isolate->heap()->store_buffer_top_address()); |
1414 } | 1408 } |
1415 | 1409 |
1416 | 1410 |
1417 ExternalReference ExternalReference::new_space_allocation_top_address( | 1411 ExternalReference ExternalReference::new_space_allocation_top_address( |
1418 Isolate* isolate) { | 1412 Isolate* isolate) { |
1419 return ExternalReference(isolate->heap()->NewSpaceAllocationTopAddress()); | 1413 return ExternalReference(isolate->heap()->NewSpaceAllocationTopAddress()); |
1420 } | 1414 } |
1421 | 1415 |
(...skipping 658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2080 | 2074 |
2081 | 2075 |
2082 void Assembler::DataAlign(int m) { | 2076 void Assembler::DataAlign(int m) { |
2083 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); | 2077 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); |
2084 while ((pc_offset() & (m - 1)) != 0) { | 2078 while ((pc_offset() & (m - 1)) != 0) { |
2085 db(0); | 2079 db(0); |
2086 } | 2080 } |
2087 } | 2081 } |
2088 } // namespace internal | 2082 } // namespace internal |
2089 } // namespace v8 | 2083 } // namespace v8 |
OLD | NEW |