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 695 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
706 ExternalReference ExternalReference::handle_scope_next_address() { | 706 ExternalReference ExternalReference::handle_scope_next_address() { |
707 return ExternalReference(HandleScope::current_next_address()); | 707 return ExternalReference(HandleScope::current_next_address()); |
708 } | 708 } |
709 | 709 |
710 | 710 |
711 ExternalReference ExternalReference::handle_scope_limit_address() { | 711 ExternalReference ExternalReference::handle_scope_limit_address() { |
712 return ExternalReference(HandleScope::current_limit_address()); | 712 return ExternalReference(HandleScope::current_limit_address()); |
713 } | 713 } |
714 | 714 |
715 | 715 |
716 ExternalReference ExternalReference::pending_exception_address() { | |
717 return ExternalReference(Top::pending_exception_address()); | |
718 } | |
719 | |
720 | |
721 ExternalReference ExternalReference::scheduled_exception_address() { | 716 ExternalReference ExternalReference::scheduled_exception_address() { |
722 return ExternalReference(Top::scheduled_exception_address()); | 717 return ExternalReference(Top::scheduled_exception_address()); |
723 } | 718 } |
724 | 719 |
725 | 720 |
726 ExternalReference ExternalReference::address_of_min_int() { | 721 ExternalReference ExternalReference::address_of_min_int() { |
727 return ExternalReference(reinterpret_cast<void*>( | 722 return ExternalReference(reinterpret_cast<void*>( |
728 const_cast<double*>(&DoubleConstant::min_int))); | 723 const_cast<double*>(&DoubleConstant::min_int))); |
729 } | 724 } |
730 | 725 |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
963 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); | 958 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); |
964 state_.written_position = state_.current_position; | 959 state_.written_position = state_.current_position; |
965 written = true; | 960 written = true; |
966 } | 961 } |
967 | 962 |
968 // Return whether something was written. | 963 // Return whether something was written. |
969 return written; | 964 return written; |
970 } | 965 } |
971 | 966 |
972 } } // namespace v8::internal | 967 } } // namespace v8::internal |
OLD | NEW |