Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(109)

Side by Side Diff: src/assembler.cc

Issue 521028: Direct call to native RegExp code from JavaScript (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/assembler.h ('k') | src/code-stubs.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 656 matching lines...) Expand 10 before | Expand all | Expand 10 after
667 ExternalReference ExternalReference::re_grow_stack() { 667 ExternalReference ExternalReference::re_grow_stack() {
668 return ExternalReference( 668 return ExternalReference(
669 Redirect(FUNCTION_ADDR(NativeRegExpMacroAssembler::GrowStack))); 669 Redirect(FUNCTION_ADDR(NativeRegExpMacroAssembler::GrowStack)));
670 } 670 }
671 671
672 ExternalReference ExternalReference::re_case_insensitive_compare_uc16() { 672 ExternalReference ExternalReference::re_case_insensitive_compare_uc16() {
673 return ExternalReference(Redirect( 673 return ExternalReference(Redirect(
674 FUNCTION_ADDR(NativeRegExpMacroAssembler::CaseInsensitiveCompareUC16))); 674 FUNCTION_ADDR(NativeRegExpMacroAssembler::CaseInsensitiveCompareUC16)));
675 } 675 }
676 676
677
678 ExternalReference ExternalReference::address_of_static_offsets_vector() {
679 return ExternalReference(OffsetsVector::static_offsets_vector_address());
680 }
681
682 ExternalReference ExternalReference::address_of_regexp_stack_memory_address() {
683 return ExternalReference(RegExpStack::memory_address());
684 }
685
686 ExternalReference ExternalReference::address_of_regexp_stack_memory_size() {
687 return ExternalReference(RegExpStack::memory_size_address());
688 }
689
677 #endif 690 #endif
678 691
679 692
680 static double add_two_doubles(double x, double y) { 693 static double add_two_doubles(double x, double y) {
681 return x + y; 694 return x + y;
682 } 695 }
683 696
684 697
685 static double sub_two_doubles(double x, double y) { 698 static double sub_two_doubles(double x, double y) {
686 return x - y; 699 return x - y;
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
750 return ExternalReference(Redirect(FUNCTION_ADDR(Debug::Break))); 763 return ExternalReference(Redirect(FUNCTION_ADDR(Debug::Break)));
751 } 764 }
752 765
753 766
754 ExternalReference ExternalReference::debug_step_in_fp_address() { 767 ExternalReference ExternalReference::debug_step_in_fp_address() {
755 return ExternalReference(Debug::step_in_fp_addr()); 768 return ExternalReference(Debug::step_in_fp_addr());
756 } 769 }
757 #endif 770 #endif
758 771
759 } } // namespace v8::internal 772 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/code-stubs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698