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 637 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
648 | 648 |
649 ExternalReference ExternalReference::re_check_stack_guard_state() { | 649 ExternalReference ExternalReference::re_check_stack_guard_state() { |
650 Address function; | 650 Address function; |
651 #ifdef V8_TARGET_ARCH_X64 | 651 #ifdef V8_TARGET_ARCH_X64 |
652 function = FUNCTION_ADDR(RegExpMacroAssemblerX64::CheckStackGuardState); | 652 function = FUNCTION_ADDR(RegExpMacroAssemblerX64::CheckStackGuardState); |
653 #elif V8_TARGET_ARCH_IA32 | 653 #elif V8_TARGET_ARCH_IA32 |
654 function = FUNCTION_ADDR(RegExpMacroAssemblerIA32::CheckStackGuardState); | 654 function = FUNCTION_ADDR(RegExpMacroAssemblerIA32::CheckStackGuardState); |
655 #elif V8_TARGET_ARCH_ARM | 655 #elif V8_TARGET_ARCH_ARM |
656 function = FUNCTION_ADDR(RegExpMacroAssemblerARM::CheckStackGuardState); | 656 function = FUNCTION_ADDR(RegExpMacroAssemblerARM::CheckStackGuardState); |
657 #else | 657 #else |
658 UNREACHABLE("Unexpected architecture"); | 658 UNREACHABLE(); |
659 #endif | 659 #endif |
660 return ExternalReference(Redirect(function)); | 660 return ExternalReference(Redirect(function)); |
661 } | 661 } |
662 | 662 |
663 ExternalReference ExternalReference::re_grow_stack() { | 663 ExternalReference ExternalReference::re_grow_stack() { |
664 return ExternalReference( | 664 return ExternalReference( |
665 Redirect(FUNCTION_ADDR(NativeRegExpMacroAssembler::GrowStack))); | 665 Redirect(FUNCTION_ADDR(NativeRegExpMacroAssembler::GrowStack))); |
666 } | 666 } |
667 | 667 |
668 ExternalReference ExternalReference::re_case_insensitive_compare_uc16() { | 668 ExternalReference ExternalReference::re_case_insensitive_compare_uc16() { |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
763 return ExternalReference(Redirect(FUNCTION_ADDR(Debug::Break))); | 763 return ExternalReference(Redirect(FUNCTION_ADDR(Debug::Break))); |
764 } | 764 } |
765 | 765 |
766 | 766 |
767 ExternalReference ExternalReference::debug_step_in_fp_address() { | 767 ExternalReference ExternalReference::debug_step_in_fp_address() { |
768 return ExternalReference(Debug::step_in_fp_addr()); | 768 return ExternalReference(Debug::step_in_fp_addr()); |
769 } | 769 } |
770 #endif | 770 #endif |
771 | 771 |
772 } } // namespace v8::internal | 772 } } // namespace v8::internal |
OLD | NEW |