| 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 692 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |