| 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 1046 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1057 | 1057 |
| 1058 | 1058 |
| 1059 ExternalReference ExternalReference::delete_handle_scope_extensions( | 1059 ExternalReference ExternalReference::delete_handle_scope_extensions( |
| 1060 Isolate* isolate) { | 1060 Isolate* isolate) { |
| 1061 return ExternalReference(Redirect( | 1061 return ExternalReference(Redirect( |
| 1062 isolate, | 1062 isolate, |
| 1063 FUNCTION_ADDR(HandleScope::DeleteExtensions))); | 1063 FUNCTION_ADDR(HandleScope::DeleteExtensions))); |
| 1064 } | 1064 } |
| 1065 | 1065 |
| 1066 | 1066 |
| 1067 ExternalReference ExternalReference::random_uint32_function( | |
| 1068 Isolate* isolate) { | |
| 1069 return ExternalReference(Redirect(isolate, FUNCTION_ADDR(V8::Random))); | |
| 1070 } | |
| 1071 | |
| 1072 | |
| 1073 ExternalReference ExternalReference::get_date_field_function( | 1067 ExternalReference ExternalReference::get_date_field_function( |
| 1074 Isolate* isolate) { | 1068 Isolate* isolate) { |
| 1075 return ExternalReference(Redirect(isolate, FUNCTION_ADDR(JSDate::GetField))); | 1069 return ExternalReference(Redirect(isolate, FUNCTION_ADDR(JSDate::GetField))); |
| 1076 } | 1070 } |
| 1077 | 1071 |
| 1078 | 1072 |
| 1079 ExternalReference ExternalReference::get_make_code_young_function( | 1073 ExternalReference ExternalReference::get_make_code_young_function( |
| 1080 Isolate* isolate) { | 1074 Isolate* isolate) { |
| 1081 return ExternalReference(Redirect( | 1075 return ExternalReference(Redirect( |
| 1082 isolate, FUNCTION_ADDR(Code::MakeCodeAgeSequenceYoung))); | 1076 isolate, FUNCTION_ADDR(Code::MakeCodeAgeSequenceYoung))); |
| (...skipping 624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1707 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); | 1701 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); |
| 1708 state_.written_position = state_.current_position; | 1702 state_.written_position = state_.current_position; |
| 1709 written = true; | 1703 written = true; |
| 1710 } | 1704 } |
| 1711 | 1705 |
| 1712 // Return whether something was written. | 1706 // Return whether something was written. |
| 1713 return written; | 1707 return written; |
| 1714 } | 1708 } |
| 1715 | 1709 |
| 1716 } } // namespace v8::internal | 1710 } } // namespace v8::internal |
| OLD | NEW |