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 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
546 ExternalReference ExternalReference::perform_gc_function() { | 546 ExternalReference ExternalReference::perform_gc_function() { |
547 return ExternalReference(Redirect(FUNCTION_ADDR(Runtime::PerformGC))); | 547 return ExternalReference(Redirect(FUNCTION_ADDR(Runtime::PerformGC))); |
548 } | 548 } |
549 | 549 |
550 | 550 |
551 ExternalReference ExternalReference::builtin_passed_function() { | 551 ExternalReference ExternalReference::builtin_passed_function() { |
552 return ExternalReference(&Builtins::builtin_passed_function); | 552 return ExternalReference(&Builtins::builtin_passed_function); |
553 } | 553 } |
554 | 554 |
555 | 555 |
| 556 ExternalReference ExternalReference::random_positive_smi_function() { |
| 557 return ExternalReference(Redirect(FUNCTION_ADDR(V8::RandomPositiveSmi))); |
| 558 } |
| 559 |
| 560 |
556 ExternalReference ExternalReference::the_hole_value_location() { | 561 ExternalReference ExternalReference::the_hole_value_location() { |
557 return ExternalReference(Factory::the_hole_value().location()); | 562 return ExternalReference(Factory::the_hole_value().location()); |
558 } | 563 } |
559 | 564 |
560 | 565 |
561 ExternalReference ExternalReference::address_of_stack_guard_limit() { | 566 ExternalReference ExternalReference::address_of_stack_guard_limit() { |
562 return ExternalReference(StackGuard::address_of_jslimit()); | 567 return ExternalReference(StackGuard::address_of_jslimit()); |
563 } | 568 } |
564 | 569 |
565 | 570 |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
633 return ExternalReference(Redirect(FUNCTION_ADDR(Debug::Break))); | 638 return ExternalReference(Redirect(FUNCTION_ADDR(Debug::Break))); |
634 } | 639 } |
635 | 640 |
636 | 641 |
637 ExternalReference ExternalReference::debug_step_in_fp_address() { | 642 ExternalReference ExternalReference::debug_step_in_fp_address() { |
638 return ExternalReference(Debug::step_in_fp_addr()); | 643 return ExternalReference(Debug::step_in_fp_addr()); |
639 } | 644 } |
640 #endif | 645 #endif |
641 | 646 |
642 } } // namespace v8::internal | 647 } } // namespace v8::internal |
OLD | NEW |