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 545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
556 | 556 |
557 ExternalReference::ExternalReference(const SCTableReference& table_ref) | 557 ExternalReference::ExternalReference(const SCTableReference& table_ref) |
558 : address_(table_ref.address()) {} | 558 : address_(table_ref.address()) {} |
559 | 559 |
560 | 560 |
561 ExternalReference ExternalReference::perform_gc_function() { | 561 ExternalReference ExternalReference::perform_gc_function() { |
562 return ExternalReference(Redirect(FUNCTION_ADDR(Runtime::PerformGC))); | 562 return ExternalReference(Redirect(FUNCTION_ADDR(Runtime::PerformGC))); |
563 } | 563 } |
564 | 564 |
565 | 565 |
566 ExternalReference ExternalReference::builtin_passed_function() { | |
567 return ExternalReference(&Builtins::builtin_passed_function); | |
568 } | |
569 | |
570 | |
571 ExternalReference ExternalReference::random_positive_smi_function() { | 566 ExternalReference ExternalReference::random_positive_smi_function() { |
572 return ExternalReference(Redirect(FUNCTION_ADDR(V8::RandomPositiveSmi))); | 567 return ExternalReference(Redirect(FUNCTION_ADDR(V8::RandomPositiveSmi))); |
573 } | 568 } |
574 | 569 |
575 | 570 |
576 ExternalReference ExternalReference::keyed_lookup_cache_keys() { | 571 ExternalReference ExternalReference::keyed_lookup_cache_keys() { |
577 return ExternalReference(KeyedLookupCache::keys_address()); | 572 return ExternalReference(KeyedLookupCache::keys_address()); |
578 } | 573 } |
579 | 574 |
580 | 575 |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
763 return ExternalReference(Redirect(FUNCTION_ADDR(Debug::Break))); | 758 return ExternalReference(Redirect(FUNCTION_ADDR(Debug::Break))); |
764 } | 759 } |
765 | 760 |
766 | 761 |
767 ExternalReference ExternalReference::debug_step_in_fp_address() { | 762 ExternalReference ExternalReference::debug_step_in_fp_address() { |
768 return ExternalReference(Debug::step_in_fp_addr()); | 763 return ExternalReference(Debug::step_in_fp_addr()); |
769 } | 764 } |
770 #endif | 765 #endif |
771 | 766 |
772 } } // namespace v8::internal | 767 } } // namespace v8::internal |
OLD | NEW |