| OLD | NEW |
| 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 777 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 788 | 788 |
| 789 template <typename Char> | 789 template <typename Char> |
| 790 void* RegExpCompiler<Char>::VisitLookahead(RegExpLookahead* that, | 790 void* RegExpCompiler<Char>::VisitLookahead(RegExpLookahead* that, |
| 791 void* rest) { | 791 void* rest) { |
| 792 UNIMPLEMENTED(); | 792 UNIMPLEMENTED(); |
| 793 return NULL; | 793 return NULL; |
| 794 } | 794 } |
| 795 | 795 |
| 796 | 796 |
| 797 template <typename Char> | 797 template <typename Char> |
| 798 void* RegExpCompiler<Char>::VisitBackreference(RegExpBackreference* that, |
| 799 void* rest) { |
| 800 UNIMPLEMENTED(); |
| 801 return NULL; |
| 802 } |
| 803 |
| 804 |
| 805 template <typename Char> |
| 798 void* RegExpCompiler<Char>::VisitEmpty(RegExpEmpty* that, void* rest) { | 806 void* RegExpCompiler<Char>::VisitEmpty(RegExpEmpty* that, void* rest) { |
| 799 return rest; | 807 return rest; |
| 800 } | 808 } |
| 801 | 809 |
| 802 | 810 |
| 803 template <typename Char> | 811 template <typename Char> |
| 804 void* RegExpCompiler<Char>::VisitAlternative(RegExpAlternative* that, | 812 void* RegExpCompiler<Char>::VisitAlternative(RegExpAlternative* that, |
| 805 void* rest) { | 813 void* rest) { |
| 806 ZoneList<RegExpTree*>* children = that->nodes(); | 814 ZoneList<RegExpTree*>* children = that->nodes(); |
| 807 RegExpNode<Char>* current = static_cast<RegExpNode<Char>*>(rest); | 815 RegExpNode<Char>* current = static_cast<RegExpNode<Char>*>(rest); |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1013 template | 1021 template |
| 1014 bool RegExpEngine::Execute<const char>(RegExpNode<const char>* start, | 1022 bool RegExpEngine::Execute<const char>(RegExpNode<const char>* start, |
| 1015 Vector<const char> input); | 1023 Vector<const char> input); |
| 1016 | 1024 |
| 1017 template | 1025 template |
| 1018 bool RegExpEngine::Execute<const uc16>(RegExpNode<const uc16>* start, | 1026 bool RegExpEngine::Execute<const uc16>(RegExpNode<const uc16>* start, |
| 1019 Vector<const uc16> input); | 1027 Vector<const uc16> input); |
| 1020 | 1028 |
| 1021 | 1029 |
| 1022 }} // namespace v8::internal | 1030 }} // namespace v8::internal |
| OLD | NEW |