| 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 1060 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1071 ExternalReference ExternalReference::date_cache_stamp(Isolate* isolate) { | 1071 ExternalReference ExternalReference::date_cache_stamp(Isolate* isolate) { |
| 1072 return ExternalReference(isolate->date_cache()->stamp_address()); | 1072 return ExternalReference(isolate->date_cache()->stamp_address()); |
| 1073 } | 1073 } |
| 1074 | 1074 |
| 1075 | 1075 |
| 1076 ExternalReference ExternalReference::stress_deopt_count(Isolate* isolate) { | 1076 ExternalReference ExternalReference::stress_deopt_count(Isolate* isolate) { |
| 1077 return ExternalReference(isolate->stress_deopt_count_address()); | 1077 return ExternalReference(isolate->stress_deopt_count_address()); |
| 1078 } | 1078 } |
| 1079 | 1079 |
| 1080 | 1080 |
| 1081 ExternalReference ExternalReference::null() { |
| 1082 return ExternalReference(reinterpret_cast<Address>(0)); |
| 1083 } |
| 1084 |
| 1085 |
| 1081 ExternalReference ExternalReference::transcendental_cache_array_address( | 1086 ExternalReference ExternalReference::transcendental_cache_array_address( |
| 1082 Isolate* isolate) { | 1087 Isolate* isolate) { |
| 1083 return ExternalReference( | 1088 return ExternalReference( |
| 1084 isolate->transcendental_cache()->cache_array_address()); | 1089 isolate->transcendental_cache()->cache_array_address()); |
| 1085 } | 1090 } |
| 1086 | 1091 |
| 1087 | 1092 |
| 1088 ExternalReference ExternalReference::new_deoptimizer_function( | 1093 ExternalReference ExternalReference::new_deoptimizer_function( |
| 1089 Isolate* isolate) { | 1094 Isolate* isolate) { |
| 1090 return ExternalReference( | 1095 return ExternalReference( |
| (...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1677 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); | 1682 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); |
| 1678 state_.written_position = state_.current_position; | 1683 state_.written_position = state_.current_position; |
| 1679 written = true; | 1684 written = true; |
| 1680 } | 1685 } |
| 1681 | 1686 |
| 1682 // Return whether something was written. | 1687 // Return whether something was written. |
| 1683 return written; | 1688 return written; |
| 1684 } | 1689 } |
| 1685 | 1690 |
| 1686 } } // namespace v8::internal | 1691 } } // namespace v8::internal |
| OLD | NEW |