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

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, 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 | Annotate | Revision Log
« no previous file with comments | « src/assembler.h ('k') | src/heap.h » ('j') | src/heap.h » ('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 673 matching lines...) Expand 10 before | Expand all | Expand 10 after
684 ExternalReference ExternalReference::address_of_regexp_stack_limit() { 684 ExternalReference ExternalReference::address_of_regexp_stack_limit() {
685 return ExternalReference(RegExpStack::limit_address()); 685 return ExternalReference(RegExpStack::limit_address());
686 } 686 }
687 687
688 688
689 ExternalReference ExternalReference::new_space_start() { 689 ExternalReference ExternalReference::new_space_start() {
690 return ExternalReference(Heap::NewSpaceStart()); 690 return ExternalReference(Heap::NewSpaceStart());
691 } 691 }
692 692
693 693
694 ExternalReference ExternalReference::new_space_mark_bits() {
695 return ExternalReference(Marking::new_space_bitmap());
696 }
697
698
694 ExternalReference ExternalReference::store_buffer_top() { 699 ExternalReference ExternalReference::store_buffer_top() {
695 return ExternalReference(StoreBuffer::TopAddress()); 700 return ExternalReference(StoreBuffer::TopAddress());
696 } 701 }
697 702
698 703
699 ExternalReference ExternalReference::new_space_mask() { 704 ExternalReference ExternalReference::new_space_mask() {
700 return ExternalReference(reinterpret_cast<Address>(Heap::NewSpaceMask())); 705 return ExternalReference(reinterpret_cast<Address>(Heap::NewSpaceMask()));
701 } 706 }
702 707
703 708
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
1018 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); 1023 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position);
1019 state_.written_position = state_.current_position; 1024 state_.written_position = state_.current_position;
1020 written = true; 1025 written = true;
1021 } 1026 }
1022 1027
1023 // Return whether something was written. 1028 // Return whether something was written.
1024 return written; 1029 return written;
1025 } 1030 }
1026 1031
1027 } } // namespace v8::internal 1032 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/heap.h » ('j') | src/heap.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698