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 562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
573 return ExternalReference(Redirect(FUNCTION_ADDR(Runtime::PerformGC))); | 573 return ExternalReference(Redirect(FUNCTION_ADDR(Runtime::PerformGC))); |
574 } | 574 } |
575 | 575 |
576 | 576 |
577 ExternalReference ExternalReference::fill_heap_number_with_random_function() { | 577 ExternalReference ExternalReference::fill_heap_number_with_random_function() { |
578 return | 578 return |
579 ExternalReference(Redirect(FUNCTION_ADDR(V8::FillHeapNumberWithRandom))); | 579 ExternalReference(Redirect(FUNCTION_ADDR(V8::FillHeapNumberWithRandom))); |
580 } | 580 } |
581 | 581 |
582 | 582 |
| 583 ExternalReference ExternalReference::random_uint32_function() { |
| 584 return ExternalReference(Redirect(FUNCTION_ADDR(V8::Random))); |
| 585 } |
| 586 |
| 587 |
583 ExternalReference ExternalReference::transcendental_cache_array_address() { | 588 ExternalReference ExternalReference::transcendental_cache_array_address() { |
584 return ExternalReference(TranscendentalCache::cache_array_address()); | 589 return ExternalReference(TranscendentalCache::cache_array_address()); |
585 } | 590 } |
586 | 591 |
587 | 592 |
588 ExternalReference ExternalReference::keyed_lookup_cache_keys() { | 593 ExternalReference ExternalReference::keyed_lookup_cache_keys() { |
589 return ExternalReference(KeyedLookupCache::keys_address()); | 594 return ExternalReference(KeyedLookupCache::keys_address()); |
590 } | 595 } |
591 | 596 |
592 | 597 |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
794 return ExternalReference(Redirect(FUNCTION_ADDR(Debug::Break))); | 799 return ExternalReference(Redirect(FUNCTION_ADDR(Debug::Break))); |
795 } | 800 } |
796 | 801 |
797 | 802 |
798 ExternalReference ExternalReference::debug_step_in_fp_address() { | 803 ExternalReference ExternalReference::debug_step_in_fp_address() { |
799 return ExternalReference(Debug::step_in_fp_addr()); | 804 return ExternalReference(Debug::step_in_fp_addr()); |
800 } | 805 } |
801 #endif | 806 #endif |
802 | 807 |
803 } } // namespace v8::internal | 808 } } // namespace v8::internal |
OLD | NEW |