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

Side by Side Diff: src/assembler.cc

Issue 12314155: Allow direct allocation in old pointer space. (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/code-stubs-hydrogen.cc » ('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 1170 matching lines...) Expand 10 before | Expand all | Expand 10 after
1181 return ExternalReference(heap->always_allocate_scope_depth_address()); 1181 return ExternalReference(heap->always_allocate_scope_depth_address());
1182 } 1182 }
1183 1183
1184 1184
1185 ExternalReference ExternalReference::new_space_allocation_limit_address( 1185 ExternalReference ExternalReference::new_space_allocation_limit_address(
1186 Isolate* isolate) { 1186 Isolate* isolate) {
1187 return ExternalReference(isolate->heap()->NewSpaceAllocationLimitAddress()); 1187 return ExternalReference(isolate->heap()->NewSpaceAllocationLimitAddress());
1188 } 1188 }
1189 1189
1190 1190
1191 ExternalReference ExternalReference::old_pointer_space_allocation_top_address(
1192 Isolate* isolate) {
1193 return ExternalReference(
1194 isolate->heap()->OldPointerSpaceAllocationTopAddress());
1195 }
1196
1197
1198 ExternalReference ExternalReference::old_pointer_space_allocation_limit_address(
1199 Isolate* isolate) {
1200 return ExternalReference(
1201 isolate->heap()->OldPointerSpaceAllocationLimitAddress());
1202 }
1203
1204
1191 ExternalReference ExternalReference::handle_scope_level_address( 1205 ExternalReference ExternalReference::handle_scope_level_address(
1192 Isolate* isolate) { 1206 Isolate* isolate) {
1193 return ExternalReference(HandleScope::current_level_address(isolate)); 1207 return ExternalReference(HandleScope::current_level_address(isolate));
1194 } 1208 }
1195 1209
1196 1210
1197 ExternalReference ExternalReference::handle_scope_next_address( 1211 ExternalReference ExternalReference::handle_scope_next_address(
1198 Isolate* isolate) { 1212 Isolate* isolate) {
1199 return ExternalReference(HandleScope::current_next_address(isolate)); 1213 return ExternalReference(HandleScope::current_next_address(isolate));
1200 } 1214 }
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
1637 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); 1651 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position);
1638 state_.written_position = state_.current_position; 1652 state_.written_position = state_.current_position;
1639 written = true; 1653 written = true;
1640 } 1654 }
1641 1655
1642 // Return whether something was written. 1656 // Return whether something was written.
1643 return written; 1657 return written;
1644 } 1658 }
1645 1659
1646 } } // namespace v8::internal 1660 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/code-stubs-hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698