| 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 611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 622 } | 622 } |
| 623 | 623 |
| 624 | 624 |
| 625 ExternalReference ExternalReference::address_of_real_stack_limit() { | 625 ExternalReference ExternalReference::address_of_real_stack_limit() { |
| 626 return ExternalReference( | 626 return ExternalReference( |
| 627 Isolate::Current()->stack_guard()->address_of_real_jslimit()); | 627 Isolate::Current()->stack_guard()->address_of_real_jslimit()); |
| 628 } | 628 } |
| 629 | 629 |
| 630 | 630 |
| 631 ExternalReference ExternalReference::address_of_regexp_stack_limit() { | 631 ExternalReference ExternalReference::address_of_regexp_stack_limit() { |
| 632 return ExternalReference(RegExpStack::limit_address()); | 632 return ExternalReference( |
| 633 Isolate::Current()->regexp_stack()->limit_address()); |
| 633 } | 634 } |
| 634 | 635 |
| 635 | 636 |
| 636 ExternalReference ExternalReference::new_space_start() { | 637 ExternalReference ExternalReference::new_space_start() { |
| 637 return ExternalReference(HEAP->NewSpaceStart()); | 638 return ExternalReference(HEAP->NewSpaceStart()); |
| 638 } | 639 } |
| 639 | 640 |
| 640 | 641 |
| 641 ExternalReference ExternalReference::new_space_mask() { | 642 ExternalReference ExternalReference::new_space_mask() { |
| 642 return ExternalReference(reinterpret_cast<Address>(HEAP->NewSpaceMask())); | 643 return ExternalReference(reinterpret_cast<Address>(HEAP->NewSpaceMask())); |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 708 return ExternalReference( | 709 return ExternalReference( |
| 709 NativeRegExpMacroAssembler::word_character_map_address()); | 710 NativeRegExpMacroAssembler::word_character_map_address()); |
| 710 } | 711 } |
| 711 | 712 |
| 712 ExternalReference ExternalReference::address_of_static_offsets_vector() { | 713 ExternalReference ExternalReference::address_of_static_offsets_vector() { |
| 713 return ExternalReference(OffsetsVector::static_offsets_vector_address( | 714 return ExternalReference(OffsetsVector::static_offsets_vector_address( |
| 714 Isolate::Current())); | 715 Isolate::Current())); |
| 715 } | 716 } |
| 716 | 717 |
| 717 ExternalReference ExternalReference::address_of_regexp_stack_memory_address() { | 718 ExternalReference ExternalReference::address_of_regexp_stack_memory_address() { |
| 718 return ExternalReference(RegExpStack::memory_address()); | 719 return ExternalReference( |
| 720 Isolate::Current()->regexp_stack()->memory_address()); |
| 719 } | 721 } |
| 720 | 722 |
| 721 ExternalReference ExternalReference::address_of_regexp_stack_memory_size() { | 723 ExternalReference ExternalReference::address_of_regexp_stack_memory_size() { |
| 722 return ExternalReference(RegExpStack::memory_size_address()); | 724 return ExternalReference( |
| 725 Isolate::Current()->regexp_stack()->memory_size_address()); |
| 723 } | 726 } |
| 724 | 727 |
| 725 #endif // V8_INTERPRETED_REGEXP | 728 #endif // V8_INTERPRETED_REGEXP |
| 726 | 729 |
| 727 | 730 |
| 728 static double add_two_doubles(double x, double y) { | 731 static double add_two_doubles(double x, double y) { |
| 729 return x + y; | 732 return x + y; |
| 730 } | 733 } |
| 731 | 734 |
| 732 | 735 |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 795 return ExternalReference(Redirect(FUNCTION_ADDR(Debug::Break))); | 798 return ExternalReference(Redirect(FUNCTION_ADDR(Debug::Break))); |
| 796 } | 799 } |
| 797 | 800 |
| 798 | 801 |
| 799 ExternalReference ExternalReference::debug_step_in_fp_address() { | 802 ExternalReference ExternalReference::debug_step_in_fp_address() { |
| 800 return ExternalReference(Isolate::Current()->debug()->step_in_fp_addr()); | 803 return ExternalReference(Isolate::Current()->debug()->step_in_fp_addr()); |
| 801 } | 804 } |
| 802 #endif | 805 #endif |
| 803 | 806 |
| 804 } } // namespace v8::internal | 807 } } // namespace v8::internal |
| OLD | NEW |