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 1041 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1052 return ExternalReference(Redirect(isolate, FUNCTION_ADDR(CPU::FlushICache))); | 1052 return ExternalReference(Redirect(isolate, FUNCTION_ADDR(CPU::FlushICache))); |
1053 } | 1053 } |
1054 | 1054 |
1055 | 1055 |
1056 ExternalReference ExternalReference::perform_gc_function(Isolate* isolate) { | 1056 ExternalReference ExternalReference::perform_gc_function(Isolate* isolate) { |
1057 return | 1057 return |
1058 ExternalReference(Redirect(isolate, FUNCTION_ADDR(Runtime::PerformGC))); | 1058 ExternalReference(Redirect(isolate, FUNCTION_ADDR(Runtime::PerformGC))); |
1059 } | 1059 } |
1060 | 1060 |
1061 | 1061 |
| 1062 ExternalReference ExternalReference::out_of_memory_function(Isolate* isolate) { |
| 1063 return |
| 1064 ExternalReference(Redirect(isolate, FUNCTION_ADDR(Runtime::OutOfMemory))); |
| 1065 } |
| 1066 |
| 1067 |
1062 ExternalReference ExternalReference::delete_handle_scope_extensions( | 1068 ExternalReference ExternalReference::delete_handle_scope_extensions( |
1063 Isolate* isolate) { | 1069 Isolate* isolate) { |
1064 return ExternalReference(Redirect( | 1070 return ExternalReference(Redirect( |
1065 isolate, | 1071 isolate, |
1066 FUNCTION_ADDR(HandleScope::DeleteExtensions))); | 1072 FUNCTION_ADDR(HandleScope::DeleteExtensions))); |
1067 } | 1073 } |
1068 | 1074 |
1069 | 1075 |
1070 ExternalReference ExternalReference::get_date_field_function( | 1076 ExternalReference ExternalReference::get_date_field_function( |
1071 Isolate* isolate) { | 1077 Isolate* isolate) { |
(...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1633 r2 = r2 - ad; | 1639 r2 = r2 - ad; |
1634 } | 1640 } |
1635 delta = ad - r2; | 1641 delta = ad - r2; |
1636 } while (q1 < delta || (q1 == delta && r1 == 0)); | 1642 } while (q1 < delta || (q1 == delta && r1 == 0)); |
1637 int32_t mul = static_cast<int32_t>(q2 + 1); | 1643 int32_t mul = static_cast<int32_t>(q2 + 1); |
1638 multiplier_ = (d < 0) ? -mul : mul; | 1644 multiplier_ = (d < 0) ? -mul : mul; |
1639 shift_ = p - 32; | 1645 shift_ = p - 32; |
1640 } | 1646 } |
1641 | 1647 |
1642 } } // namespace v8::internal | 1648 } } // namespace v8::internal |
OLD | NEW |