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

Side by Side Diff: src/assembler.cc

Issue 7032005: Unify markbits for old and new spaces. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/gc
Patch Set: Created 9 years, 7 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 | « no previous file | src/heap.cc » ('j') | src/serialize.cc » ('J')
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 825 matching lines...) Expand 10 before | Expand all | Expand 10 after
836 Isolate* isolate) { 836 Isolate* isolate) {
837 return ExternalReference(isolate->regexp_stack()->limit_address()); 837 return ExternalReference(isolate->regexp_stack()->limit_address());
838 } 838 }
839 839
840 840
841 ExternalReference ExternalReference::new_space_start(Isolate* isolate) { 841 ExternalReference ExternalReference::new_space_start(Isolate* isolate) {
842 return ExternalReference(isolate->heap()->NewSpaceStart()); 842 return ExternalReference(isolate->heap()->NewSpaceStart());
843 } 843 }
844 844
845 845
846 ExternalReference ExternalReference::new_space_mark_bits(Isolate* isolate) {
847 return ExternalReference(isolate->heap()->marking()->new_space_bitmap());
848 }
849
850
851 ExternalReference ExternalReference::store_buffer_top(Isolate* isolate) { 846 ExternalReference ExternalReference::store_buffer_top(Isolate* isolate) {
852 return ExternalReference(isolate->heap()->store_buffer()->TopAddress()); 847 return ExternalReference(isolate->heap()->store_buffer()->TopAddress());
853 } 848 }
854 849
855 850
856 ExternalReference ExternalReference::new_space_mask(Isolate* isolate) { 851 ExternalReference ExternalReference::new_space_mask(Isolate* isolate) {
857 return ExternalReference(reinterpret_cast<Address>( 852 return ExternalReference(reinterpret_cast<Address>(
858 isolate->heap()->NewSpaceMask())); 853 isolate->heap()->NewSpaceMask()));
859 } 854 }
860 855
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
1200 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); 1195 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position);
1201 state_.written_position = state_.current_position; 1196 state_.written_position = state_.current_position;
1202 written = true; 1197 written = true;
1203 } 1198 }
1204 1199
1205 // Return whether something was written. 1200 // Return whether something was written.
1206 return written; 1201 return written;
1207 } 1202 }
1208 1203
1209 } } // namespace v8::internal 1204 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/heap.cc » ('j') | src/serialize.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698