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 1185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1196 } | 1196 } |
1197 | 1197 |
1198 | 1198 |
1199 ExternalReference ExternalReference::old_data_space_allocation_limit_address( | 1199 ExternalReference ExternalReference::old_data_space_allocation_limit_address( |
1200 Isolate* isolate) { | 1200 Isolate* isolate) { |
1201 return ExternalReference( | 1201 return ExternalReference( |
1202 isolate->heap()->OldDataSpaceAllocationLimitAddress()); | 1202 isolate->heap()->OldDataSpaceAllocationLimitAddress()); |
1203 } | 1203 } |
1204 | 1204 |
1205 | 1205 |
| 1206 ExternalReference ExternalReference:: |
| 1207 new_space_high_promotion_mode_active_address(Isolate* isolate) { |
| 1208 return ExternalReference( |
| 1209 isolate->heap()->NewSpaceHighPromotionModeActiveAddress()); |
| 1210 } |
| 1211 |
| 1212 |
1206 ExternalReference ExternalReference::handle_scope_level_address( | 1213 ExternalReference ExternalReference::handle_scope_level_address( |
1207 Isolate* isolate) { | 1214 Isolate* isolate) { |
1208 return ExternalReference(HandleScope::current_level_address(isolate)); | 1215 return ExternalReference(HandleScope::current_level_address(isolate)); |
1209 } | 1216 } |
1210 | 1217 |
1211 | 1218 |
1212 ExternalReference ExternalReference::handle_scope_next_address( | 1219 ExternalReference ExternalReference::handle_scope_next_address( |
1213 Isolate* isolate) { | 1220 Isolate* isolate) { |
1214 return ExternalReference(HandleScope::current_next_address(isolate)); | 1221 return ExternalReference(HandleScope::current_next_address(isolate)); |
1215 } | 1222 } |
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1655 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); | 1662 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); |
1656 state_.written_position = state_.current_position; | 1663 state_.written_position = state_.current_position; |
1657 written = true; | 1664 written = true; |
1658 } | 1665 } |
1659 | 1666 |
1660 // Return whether something was written. | 1667 // Return whether something was written. |
1661 return written; | 1668 return written; |
1662 } | 1669 } |
1663 | 1670 |
1664 } } // namespace v8::internal | 1671 } } // namespace v8::internal |
OLD | NEW |