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 1191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1202 return ExternalReference(isolate->heap()->NewSpaceAllocationTopAddress()); | 1202 return ExternalReference(isolate->heap()->NewSpaceAllocationTopAddress()); |
1203 } | 1203 } |
1204 | 1204 |
1205 | 1205 |
1206 ExternalReference ExternalReference::new_space_allocation_limit_address( | 1206 ExternalReference ExternalReference::new_space_allocation_limit_address( |
1207 Isolate* isolate) { | 1207 Isolate* isolate) { |
1208 return ExternalReference(isolate->heap()->NewSpaceAllocationLimitAddress()); | 1208 return ExternalReference(isolate->heap()->NewSpaceAllocationLimitAddress()); |
1209 } | 1209 } |
1210 | 1210 |
1211 | 1211 |
1212 ExternalReference ExternalReference::old_pointer_space_allocation_top_address( | 1212 ExternalReference ExternalReference::old_space_allocation_top_address( |
1213 Isolate* isolate) { | 1213 Isolate* isolate) { |
1214 return ExternalReference( | 1214 return ExternalReference(isolate->heap()->OldSpaceAllocationTopAddress()); |
1215 isolate->heap()->OldPointerSpaceAllocationTopAddress()); | |
1216 } | 1215 } |
1217 | 1216 |
1218 | 1217 |
1219 ExternalReference ExternalReference::old_pointer_space_allocation_limit_address( | 1218 ExternalReference ExternalReference::old_space_allocation_limit_address( |
1220 Isolate* isolate) { | 1219 Isolate* isolate) { |
1221 return ExternalReference( | 1220 return ExternalReference(isolate->heap()->OldSpaceAllocationLimitAddress()); |
1222 isolate->heap()->OldPointerSpaceAllocationLimitAddress()); | |
1223 } | 1221 } |
1224 | 1222 |
1225 | 1223 |
1226 ExternalReference ExternalReference::old_data_space_allocation_top_address( | |
1227 Isolate* isolate) { | |
1228 return ExternalReference( | |
1229 isolate->heap()->OldDataSpaceAllocationTopAddress()); | |
1230 } | |
1231 | |
1232 | |
1233 ExternalReference ExternalReference::old_data_space_allocation_limit_address( | |
1234 Isolate* isolate) { | |
1235 return ExternalReference( | |
1236 isolate->heap()->OldDataSpaceAllocationLimitAddress()); | |
1237 } | |
1238 | |
1239 | |
1240 ExternalReference ExternalReference::handle_scope_level_address( | 1224 ExternalReference ExternalReference::handle_scope_level_address( |
1241 Isolate* isolate) { | 1225 Isolate* isolate) { |
1242 return ExternalReference(HandleScope::current_level_address(isolate)); | 1226 return ExternalReference(HandleScope::current_level_address(isolate)); |
1243 } | 1227 } |
1244 | 1228 |
1245 | 1229 |
1246 ExternalReference ExternalReference::handle_scope_next_address( | 1230 ExternalReference ExternalReference::handle_scope_next_address( |
1247 Isolate* isolate) { | 1231 Isolate* isolate) { |
1248 return ExternalReference(HandleScope::current_next_address(isolate)); | 1232 return ExternalReference(HandleScope::current_next_address(isolate)); |
1249 } | 1233 } |
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1671 RecordRelocInfo(RelocInfo::JS_RETURN); | 1655 RecordRelocInfo(RelocInfo::JS_RETURN); |
1672 } | 1656 } |
1673 | 1657 |
1674 | 1658 |
1675 void Assembler::RecordDebugBreakSlot() { | 1659 void Assembler::RecordDebugBreakSlot() { |
1676 positions_recorder()->WriteRecordedPositions(); | 1660 positions_recorder()->WriteRecordedPositions(); |
1677 EnsureSpace ensure_space(this); | 1661 EnsureSpace ensure_space(this); |
1678 RecordRelocInfo(RelocInfo::DEBUG_BREAK_SLOT); | 1662 RecordRelocInfo(RelocInfo::DEBUG_BREAK_SLOT); |
1679 } | 1663 } |
1680 } } // namespace v8::internal | 1664 } } // namespace v8::internal |
OLD | NEW |