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 1140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1151 Heap* heap = isolate->heap(); | 1151 Heap* heap = isolate->heap(); |
1152 return ExternalReference(heap->always_allocate_scope_depth_address()); | 1152 return ExternalReference(heap->always_allocate_scope_depth_address()); |
1153 } | 1153 } |
1154 | 1154 |
1155 | 1155 |
1156 ExternalReference ExternalReference::new_space_allocation_limit_address( | 1156 ExternalReference ExternalReference::new_space_allocation_limit_address( |
1157 Isolate* isolate) { | 1157 Isolate* isolate) { |
1158 return ExternalReference(isolate->heap()->NewSpaceAllocationLimitAddress()); | 1158 return ExternalReference(isolate->heap()->NewSpaceAllocationLimitAddress()); |
1159 } | 1159 } |
1160 | 1160 |
| 1161 ExternalReference ExternalReference::old_pointer_space_allocation_top_address( |
| 1162 Isolate* isolate) { |
| 1163 return ExternalReference( |
| 1164 isolate->heap()->OldPointerSpaceAllocationTopAddress()); |
| 1165 } |
| 1166 |
| 1167 ExternalReference ExternalReference::old_pointer_space_allocation_limit_address( |
| 1168 Isolate* isolate) { |
| 1169 return ExternalReference( |
| 1170 isolate->heap()->OldPointerSpaceAllocationLimitAddress()); |
| 1171 } |
1161 | 1172 |
1162 ExternalReference ExternalReference::handle_scope_level_address( | 1173 ExternalReference ExternalReference::handle_scope_level_address( |
1163 Isolate* isolate) { | 1174 Isolate* isolate) { |
1164 return ExternalReference(HandleScope::current_level_address(isolate)); | 1175 return ExternalReference(HandleScope::current_level_address(isolate)); |
1165 } | 1176 } |
1166 | 1177 |
1167 | 1178 |
1168 ExternalReference ExternalReference::handle_scope_next_address( | 1179 ExternalReference ExternalReference::handle_scope_next_address( |
1169 Isolate* isolate) { | 1180 Isolate* isolate) { |
1170 return ExternalReference(HandleScope::current_next_address(isolate)); | 1181 return ExternalReference(HandleScope::current_next_address(isolate)); |
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1608 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); | 1619 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); |
1609 state_.written_position = state_.current_position; | 1620 state_.written_position = state_.current_position; |
1610 written = true; | 1621 written = true; |
1611 } | 1622 } |
1612 | 1623 |
1613 // Return whether something was written. | 1624 // Return whether something was written. |
1614 return written; | 1625 return written; |
1615 } | 1626 } |
1616 | 1627 |
1617 } } // namespace v8::internal | 1628 } } // namespace v8::internal |
OLD | NEW |