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

Side by Side Diff: src/assembler.cc

Issue 6824078: Move most of the incremental marking write barrier to generated code. (Closed) Base URL: http://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 | « 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 692 matching lines...) Expand 10 before | Expand all | Expand 10 after
703 return ExternalReference( 703 return ExternalReference(
704 Isolate::Current()->regexp_stack()->limit_address()); 704 Isolate::Current()->regexp_stack()->limit_address());
705 } 705 }
706 706
707 707
708 ExternalReference ExternalReference::new_space_start() { 708 ExternalReference ExternalReference::new_space_start() {
709 return ExternalReference(HEAP->NewSpaceStart()); 709 return ExternalReference(HEAP->NewSpaceStart());
710 } 710 }
711 711
712 712
713 ExternalReference ExternalReference::new_space_mark_bits() {
714 return ExternalReference(HEAP->marking()->new_space_bitmap());
715 }
716
717
713 ExternalReference ExternalReference::store_buffer_top() { 718 ExternalReference ExternalReference::store_buffer_top() {
714 return ExternalReference(HEAP->store_buffer()->TopAddress()); 719 return ExternalReference(HEAP->store_buffer()->TopAddress());
715 } 720 }
716 721
717 722
718 ExternalReference ExternalReference::new_space_mask() { 723 ExternalReference ExternalReference::new_space_mask() {
719 return ExternalReference(reinterpret_cast<Address>(HEAP->NewSpaceMask())); 724 return ExternalReference(reinterpret_cast<Address>(HEAP->NewSpaceMask()));
720 } 725 }
721 726
722 727
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
1036 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); 1041 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position);
1037 state_.written_position = state_.current_position; 1042 state_.written_position = state_.current_position;
1038 written = true; 1043 written = true;
1039 } 1044 }
1040 1045
1041 // Return whether something was written. 1046 // Return whether something was written.
1042 return written; 1047 return written;
1043 } 1048 }
1044 1049
1045 } } // namespace v8::internal 1050 } } // 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