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