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

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

Issue 16280005: RegExp macro assembler clean up. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 6 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/regexp-macro-assembler.h ('k') | src/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 // 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 virtual void CheckCharacterInRange(uc16 from, 96 virtual void CheckCharacterInRange(uc16 from,
97 uc16 to, 97 uc16 to,
98 Label* on_in_range); 98 Label* on_in_range);
99 virtual void CheckCharacterNotInRange(uc16 from, 99 virtual void CheckCharacterNotInRange(uc16 from,
100 uc16 to, 100 uc16 to,
101 Label* on_not_in_range); 101 Label* on_not_in_range);
102 virtual void CheckBitInTable(Handle<ByteArray> table, Label* on_bit_set); 102 virtual void CheckBitInTable(Handle<ByteArray> table, Label* on_bit_set);
103 virtual void CheckNotBackReference(int start_reg, Label* on_no_match); 103 virtual void CheckNotBackReference(int start_reg, Label* on_no_match);
104 virtual void CheckNotBackReferenceIgnoreCase(int start_reg, 104 virtual void CheckNotBackReferenceIgnoreCase(int start_reg,
105 Label* on_no_match); 105 Label* on_no_match);
106 virtual void CheckCharacters(Vector<const uc16> str,
107 int cp_offset,
108 Label* on_failure,
109 bool check_end_of_string);
110 virtual void IfRegisterLT(int register_index, int comparand, Label* if_lt); 106 virtual void IfRegisterLT(int register_index, int comparand, Label* if_lt);
111 virtual void IfRegisterGE(int register_index, int comparand, Label* if_ge); 107 virtual void IfRegisterGE(int register_index, int comparand, Label* if_ge);
112 virtual void IfRegisterEqPos(int register_index, Label* if_eq); 108 virtual void IfRegisterEqPos(int register_index, Label* if_eq);
113 109
114 virtual IrregexpImplementation Implementation(); 110 virtual IrregexpImplementation Implementation();
115 virtual Handle<HeapObject> GetCode(Handle<String> source); 111 virtual Handle<HeapObject> GetCode(Handle<String> source);
116 112
117 private: 113 private:
118 void Expand(); 114 void Expand();
119 // Code and bitmap emission. 115 // Code and bitmap emission.
(...skipping 21 matching lines...) Expand all
141 static const int kInvalidPC = -1; 137 static const int kInvalidPC = -1;
142 138
143 DISALLOW_IMPLICIT_CONSTRUCTORS(RegExpMacroAssemblerIrregexp); 139 DISALLOW_IMPLICIT_CONSTRUCTORS(RegExpMacroAssemblerIrregexp);
144 }; 140 };
145 141
146 #endif // V8_INTERPRETED_REGEXP 142 #endif // V8_INTERPRETED_REGEXP
147 143
148 } } // namespace v8::internal 144 } } // namespace v8::internal
149 145
150 #endif // V8_REGEXP_MACRO_ASSEMBLER_IRREGEXP_H_ 146 #endif // V8_REGEXP_MACRO_ASSEMBLER_IRREGEXP_H_
OLDNEW
« no previous file with comments | « src/regexp-macro-assembler.h ('k') | src/regexp-macro-assembler-irregexp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698