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