Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(326)

Side by Side Diff: src/assembler.cc

Issue 1051233002: Reland "Merge old data and pointer space." (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/assembler.h ('k') | src/counters.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1198 matching lines...) Expand 10 before | Expand all | Expand 10 after
1209 return ExternalReference(isolate->heap()->NewSpaceAllocationTopAddress()); 1209 return ExternalReference(isolate->heap()->NewSpaceAllocationTopAddress());
1210 } 1210 }
1211 1211
1212 1212
1213 ExternalReference ExternalReference::new_space_allocation_limit_address( 1213 ExternalReference ExternalReference::new_space_allocation_limit_address(
1214 Isolate* isolate) { 1214 Isolate* isolate) {
1215 return ExternalReference(isolate->heap()->NewSpaceAllocationLimitAddress()); 1215 return ExternalReference(isolate->heap()->NewSpaceAllocationLimitAddress());
1216 } 1216 }
1217 1217
1218 1218
1219 ExternalReference ExternalReference::old_pointer_space_allocation_top_address( 1219 ExternalReference ExternalReference::old_space_allocation_top_address(
1220 Isolate* isolate) { 1220 Isolate* isolate) {
1221 return ExternalReference( 1221 return ExternalReference(isolate->heap()->OldSpaceAllocationTopAddress());
1222 isolate->heap()->OldPointerSpaceAllocationTopAddress());
1223 } 1222 }
1224 1223
1225 1224
1226 ExternalReference ExternalReference::old_pointer_space_allocation_limit_address( 1225 ExternalReference ExternalReference::old_space_allocation_limit_address(
1227 Isolate* isolate) { 1226 Isolate* isolate) {
1228 return ExternalReference( 1227 return ExternalReference(isolate->heap()->OldSpaceAllocationLimitAddress());
1229 isolate->heap()->OldPointerSpaceAllocationLimitAddress());
1230 } 1228 }
1231 1229
1232 1230
1233 ExternalReference ExternalReference::old_data_space_allocation_top_address(
1234 Isolate* isolate) {
1235 return ExternalReference(isolate->heap()->OldDataSpaceAllocationTopAddress());
1236 }
1237
1238
1239 ExternalReference ExternalReference::old_data_space_allocation_limit_address(
1240 Isolate* isolate) {
1241 return ExternalReference(
1242 isolate->heap()->OldDataSpaceAllocationLimitAddress());
1243 }
1244
1245
1246 ExternalReference ExternalReference::handle_scope_level_address( 1231 ExternalReference ExternalReference::handle_scope_level_address(
1247 Isolate* isolate) { 1232 Isolate* isolate) {
1248 return ExternalReference(HandleScope::current_level_address(isolate)); 1233 return ExternalReference(HandleScope::current_level_address(isolate));
1249 } 1234 }
1250 1235
1251 1236
1252 ExternalReference ExternalReference::handle_scope_next_address( 1237 ExternalReference ExternalReference::handle_scope_next_address(
1253 Isolate* isolate) { 1238 Isolate* isolate) {
1254 return ExternalReference(HandleScope::current_next_address(isolate)); 1239 return ExternalReference(HandleScope::current_next_address(isolate));
1255 } 1240 }
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
1677 RecordRelocInfo(RelocInfo::JS_RETURN); 1662 RecordRelocInfo(RelocInfo::JS_RETURN);
1678 } 1663 }
1679 1664
1680 1665
1681 void Assembler::RecordDebugBreakSlot() { 1666 void Assembler::RecordDebugBreakSlot() {
1682 positions_recorder()->WriteRecordedPositions(); 1667 positions_recorder()->WriteRecordedPositions();
1683 EnsureSpace ensure_space(this); 1668 EnsureSpace ensure_space(this);
1684 RecordRelocInfo(RelocInfo::DEBUG_BREAK_SLOT); 1669 RecordRelocInfo(RelocInfo::DEBUG_BREAK_SLOT);
1685 } 1670 }
1686 } } // namespace v8::internal 1671 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/counters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698