OLD | NEW |
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...) Loading... |
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...) Loading... |
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 |
OLD | NEW |