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

Side by Side Diff: src/assembler.cc

Issue 12697011: Implement direct allocation in old data space infrastructure. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « src/assembler.h ('k') | src/heap.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 1184 matching lines...) Expand 10 before | Expand all | Expand 10 after
1195 } 1195 }
1196 1196
1197 1197
1198 ExternalReference ExternalReference::old_pointer_space_allocation_limit_address( 1198 ExternalReference ExternalReference::old_pointer_space_allocation_limit_address(
1199 Isolate* isolate) { 1199 Isolate* isolate) {
1200 return ExternalReference( 1200 return ExternalReference(
1201 isolate->heap()->OldPointerSpaceAllocationLimitAddress()); 1201 isolate->heap()->OldPointerSpaceAllocationLimitAddress());
1202 } 1202 }
1203 1203
1204 1204
1205 ExternalReference ExternalReference::old_data_space_allocation_top_address(
1206 Isolate* isolate) {
1207 return ExternalReference(
1208 isolate->heap()->OldDataSpaceAllocationTopAddress());
1209 }
1210
1211
1212 ExternalReference ExternalReference::old_data_space_allocation_limit_address(
1213 Isolate* isolate) {
1214 return ExternalReference(
1215 isolate->heap()->OldDataSpaceAllocationLimitAddress());
1216 }
1217
1218
1205 ExternalReference ExternalReference::handle_scope_level_address( 1219 ExternalReference ExternalReference::handle_scope_level_address(
1206 Isolate* isolate) { 1220 Isolate* isolate) {
1207 return ExternalReference(HandleScope::current_level_address(isolate)); 1221 return ExternalReference(HandleScope::current_level_address(isolate));
1208 } 1222 }
1209 1223
1210 1224
1211 ExternalReference ExternalReference::handle_scope_next_address( 1225 ExternalReference ExternalReference::handle_scope_next_address(
1212 Isolate* isolate) { 1226 Isolate* isolate) {
1213 return ExternalReference(HandleScope::current_next_address(isolate)); 1227 return ExternalReference(HandleScope::current_next_address(isolate));
1214 } 1228 }
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
1651 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); 1665 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position);
1652 state_.written_position = state_.current_position; 1666 state_.written_position = state_.current_position;
1653 written = true; 1667 written = true;
1654 } 1668 }
1655 1669
1656 // Return whether something was written. 1670 // Return whether something was written.
1657 return written; 1671 return written;
1658 } 1672 }
1659 1673
1660 } } // namespace v8::internal 1674 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698