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 655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
666 return ExternalReference(RegExpStack::limit_address()); | 666 return ExternalReference(RegExpStack::limit_address()); |
667 } | 667 } |
668 | 668 |
669 | 669 |
670 ExternalReference ExternalReference::new_space_start() { | 670 ExternalReference ExternalReference::new_space_start() { |
671 return ExternalReference(Heap::NewSpaceStart()); | 671 return ExternalReference(Heap::NewSpaceStart()); |
672 } | 672 } |
673 | 673 |
674 | 674 |
675 ExternalReference ExternalReference::write_buffer_top() { | 675 ExternalReference ExternalReference::write_buffer_top() { |
676 return ExternalReference(WriteBuffer::Top()); | 676 return ExternalReference(WriteBuffer::TopAddress()); |
677 } | 677 } |
678 | 678 |
679 | 679 |
680 ExternalReference ExternalReference::new_space_mask() { | 680 ExternalReference ExternalReference::new_space_mask() { |
681 return ExternalReference(reinterpret_cast<Address>(Heap::NewSpaceMask())); | 681 return ExternalReference(reinterpret_cast<Address>(Heap::NewSpaceMask())); |
682 } | 682 } |
683 | 683 |
684 | 684 |
685 ExternalReference ExternalReference::new_space_allocation_top_address() { | 685 ExternalReference ExternalReference::new_space_allocation_top_address() { |
686 return ExternalReference(Heap::NewSpaceAllocationTopAddress()); | 686 return ExternalReference(Heap::NewSpaceAllocationTopAddress()); |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
941 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); | 941 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); |
942 state_.written_position = state_.current_position; | 942 state_.written_position = state_.current_position; |
943 written = true; | 943 written = true; |
944 } | 944 } |
945 | 945 |
946 // Return whether something was written. | 946 // Return whether something was written. |
947 return written; | 947 return written; |
948 } | 948 } |
949 | 949 |
950 } } // namespace v8::internal | 950 } } // namespace v8::internal |
OLD | NEW |