| 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 1035 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1046 return ExternalReference(Redirect(isolate, FUNCTION_ADDR(CPU::FlushICache))); | 1046 return ExternalReference(Redirect(isolate, FUNCTION_ADDR(CPU::FlushICache))); |
| 1047 } | 1047 } |
| 1048 | 1048 |
| 1049 | 1049 |
| 1050 ExternalReference ExternalReference::perform_gc_function(Isolate* isolate) { | 1050 ExternalReference ExternalReference::perform_gc_function(Isolate* isolate) { |
| 1051 return | 1051 return |
| 1052 ExternalReference(Redirect(isolate, FUNCTION_ADDR(Runtime::PerformGC))); | 1052 ExternalReference(Redirect(isolate, FUNCTION_ADDR(Runtime::PerformGC))); |
| 1053 } | 1053 } |
| 1054 | 1054 |
| 1055 | 1055 |
| 1056 ExternalReference ExternalReference::fill_heap_number_with_random_function( | |
| 1057 Isolate* isolate) { | |
| 1058 return ExternalReference(Redirect( | |
| 1059 isolate, | |
| 1060 FUNCTION_ADDR(V8::FillHeapNumberWithRandom))); | |
| 1061 } | |
| 1062 | |
| 1063 | |
| 1064 ExternalReference ExternalReference::delete_handle_scope_extensions( | 1056 ExternalReference ExternalReference::delete_handle_scope_extensions( |
| 1065 Isolate* isolate) { | 1057 Isolate* isolate) { |
| 1066 return ExternalReference(Redirect( | 1058 return ExternalReference(Redirect( |
| 1067 isolate, | 1059 isolate, |
| 1068 FUNCTION_ADDR(HandleScope::DeleteExtensions))); | 1060 FUNCTION_ADDR(HandleScope::DeleteExtensions))); |
| 1069 } | 1061 } |
| 1070 | 1062 |
| 1071 | 1063 |
| 1072 ExternalReference ExternalReference::random_uint32_function( | 1064 ExternalReference ExternalReference::random_uint32_function( |
| 1073 Isolate* isolate) { | 1065 Isolate* isolate) { |
| (...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1718 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); | 1710 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); |
| 1719 state_.written_position = state_.current_position; | 1711 state_.written_position = state_.current_position; |
| 1720 written = true; | 1712 written = true; |
| 1721 } | 1713 } |
| 1722 | 1714 |
| 1723 // Return whether something was written. | 1715 // Return whether something was written. |
| 1724 return written; | 1716 return written; |
| 1725 } | 1717 } |
| 1726 | 1718 |
| 1727 } } // namespace v8::internal | 1719 } } // namespace v8::internal |
| OLD | NEW |