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

Side by Side Diff: src/regexp/regexp-macro-assembler-irregexp.h

Issue 1451373003: Revert of Experimental support for RegExp lookbehind. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « src/regexp/regexp-macro-assembler.h ('k') | src/regexp/regexp-macro-assembler-irregexp.cc » ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_REGEXP_REGEXP_MACRO_ASSEMBLER_IRREGEXP_H_ 5 #ifndef V8_REGEXP_REGEXP_MACRO_ASSEMBLER_IRREGEXP_H_
6 #define V8_REGEXP_REGEXP_MACRO_ASSEMBLER_IRREGEXP_H_ 6 #define V8_REGEXP_REGEXP_MACRO_ASSEMBLER_IRREGEXP_H_
7 7
8 #include "src/regexp/regexp-macro-assembler.h" 8 #include "src/regexp/regexp-macro-assembler.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 bool check_bounds = true, 59 bool check_bounds = true,
60 int characters = 1); 60 int characters = 1);
61 virtual void CheckCharacter(unsigned c, Label* on_equal); 61 virtual void CheckCharacter(unsigned c, Label* on_equal);
62 virtual void CheckCharacterAfterAnd(unsigned c, 62 virtual void CheckCharacterAfterAnd(unsigned c,
63 unsigned mask, 63 unsigned mask,
64 Label* on_equal); 64 Label* on_equal);
65 virtual void CheckCharacterGT(uc16 limit, Label* on_greater); 65 virtual void CheckCharacterGT(uc16 limit, Label* on_greater);
66 virtual void CheckCharacterLT(uc16 limit, Label* on_less); 66 virtual void CheckCharacterLT(uc16 limit, Label* on_less);
67 virtual void CheckGreedyLoop(Label* on_tos_equals_current_position); 67 virtual void CheckGreedyLoop(Label* on_tos_equals_current_position);
68 virtual void CheckAtStart(Label* on_at_start); 68 virtual void CheckAtStart(Label* on_at_start);
69 virtual void CheckNotAtStart(int cp_offset, Label* on_not_at_start); 69 virtual void CheckNotAtStart(Label* on_not_at_start);
70 virtual void CheckNotCharacter(unsigned c, Label* on_not_equal); 70 virtual void CheckNotCharacter(unsigned c, Label* on_not_equal);
71 virtual void CheckNotCharacterAfterAnd(unsigned c, 71 virtual void CheckNotCharacterAfterAnd(unsigned c,
72 unsigned mask, 72 unsigned mask,
73 Label* on_not_equal); 73 Label* on_not_equal);
74 virtual void CheckNotCharacterAfterMinusAnd(uc16 c, 74 virtual void CheckNotCharacterAfterMinusAnd(uc16 c,
75 uc16 minus, 75 uc16 minus,
76 uc16 mask, 76 uc16 mask,
77 Label* on_not_equal); 77 Label* on_not_equal);
78 virtual void CheckCharacterInRange(uc16 from, 78 virtual void CheckCharacterInRange(uc16 from,
79 uc16 to, 79 uc16 to,
80 Label* on_in_range); 80 Label* on_in_range);
81 virtual void CheckCharacterNotInRange(uc16 from, 81 virtual void CheckCharacterNotInRange(uc16 from,
82 uc16 to, 82 uc16 to,
83 Label* on_not_in_range); 83 Label* on_not_in_range);
84 virtual void CheckBitInTable(Handle<ByteArray> table, Label* on_bit_set); 84 virtual void CheckBitInTable(Handle<ByteArray> table, Label* on_bit_set);
85 virtual void CheckNotBackReference(int start_reg, bool read_backward, 85 virtual void CheckNotBackReference(int start_reg, Label* on_no_match);
86 Label* on_no_match);
87 virtual void CheckNotBackReferenceIgnoreCase(int start_reg, 86 virtual void CheckNotBackReferenceIgnoreCase(int start_reg,
88 bool read_backward,
89 Label* on_no_match); 87 Label* on_no_match);
90 virtual void IfRegisterLT(int register_index, int comparand, Label* if_lt); 88 virtual void IfRegisterLT(int register_index, int comparand, Label* if_lt);
91 virtual void IfRegisterGE(int register_index, int comparand, Label* if_ge); 89 virtual void IfRegisterGE(int register_index, int comparand, Label* if_ge);
92 virtual void IfRegisterEqPos(int register_index, Label* if_eq); 90 virtual void IfRegisterEqPos(int register_index, Label* if_eq);
93 91
94 virtual IrregexpImplementation Implementation(); 92 virtual IrregexpImplementation Implementation();
95 virtual Handle<HeapObject> GetCode(Handle<String> source); 93 virtual Handle<HeapObject> GetCode(Handle<String> source);
96 94
97 private: 95 private:
98 void Expand(); 96 void Expand();
(...skipping 25 matching lines...) Expand all
124 122
125 DISALLOW_IMPLICIT_CONSTRUCTORS(RegExpMacroAssemblerIrregexp); 123 DISALLOW_IMPLICIT_CONSTRUCTORS(RegExpMacroAssemblerIrregexp);
126 }; 124 };
127 125
128 #endif // V8_INTERPRETED_REGEXP 126 #endif // V8_INTERPRETED_REGEXP
129 127
130 } // namespace internal 128 } // namespace internal
131 } // namespace v8 129 } // namespace v8
132 130
133 #endif // V8_REGEXP_REGEXP_MACRO_ASSEMBLER_IRREGEXP_H_ 131 #endif // V8_REGEXP_REGEXP_MACRO_ASSEMBLER_IRREGEXP_H_
OLDNEW
« no previous file with comments | « src/regexp/regexp-macro-assembler.h ('k') | src/regexp/regexp-macro-assembler-irregexp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698