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

Side by Side Diff: src/regexp-macro-assembler-re2k.cc

Issue 11352: * Match literals in a case independent way.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/regexp2000/
Patch Set: '' Created 12 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 | Annotate | Revision Log
« no previous file with comments | « src/regexp-macro-assembler-re2k.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2008 the V8 project authors. All rights reserved. 1 // Copyright 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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 void RegExpMacroAssemblerRe2k::CheckCharacter(uc16 c, Label* on_equal) { 167 void RegExpMacroAssemblerRe2k::CheckCharacter(uc16 c, Label* on_equal) {
168 assembler_->CheckCharacter(c, on_equal); 168 assembler_->CheckCharacter(c, on_equal);
169 } 169 }
170 170
171 171
172 void RegExpMacroAssemblerRe2k::CheckNotCharacter(uc16 c, Label* on_not_equal) { 172 void RegExpMacroAssemblerRe2k::CheckNotCharacter(uc16 c, Label* on_not_equal) {
173 assembler_->CheckNotCharacter(c, on_not_equal); 173 assembler_->CheckNotCharacter(c, on_not_equal);
174 } 174 }
175 175
176 176
177 void RegExpMacroAssemblerRe2k::CheckNotCharacterAfterOr(uc16 c,
178 uc16 mask,
179 Label* on_not_equal) {
180 assembler_->OrThenCheckNotCharacter(c, mask, on_not_equal);
181 }
182
183
184 void RegExpMacroAssemblerRe2k::CheckNotCharacterAfterMinusOr(
185 uc16 c,
186 uc16 mask,
187 Label* on_not_equal) {
188 assembler_->MinusOrThenCheckNotCharacter(c, mask, on_not_equal);
189 }
190
191
177 void RegExpMacroAssemblerRe2k::CheckNotBackReference(int start_reg, 192 void RegExpMacroAssemblerRe2k::CheckNotBackReference(int start_reg,
178 Label* on_not_equal) { 193 Label* on_not_equal) {
179 assembler_->CheckNotBackReference(start_reg, on_not_equal); 194 assembler_->CheckNotBackReference(start_reg, on_not_equal);
180 } 195 }
181 196
182 197
183 void RegExpMacroAssemblerRe2k::CheckBitmap(uc16 start, 198 void RegExpMacroAssemblerRe2k::CheckBitmap(uc16 start,
184 Label* bitmap, 199 Label* bitmap,
185 Label* on_zero) { 200 Label* on_zero) {
186 assembler_->LookupMap1(start, bitmap, on_zero); 201 assembler_->LookupMap1(start, bitmap, on_zero);
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 } 252 }
238 253
239 254
240 Handle<Object> RegExpMacroAssemblerRe2k::GetCode() { 255 Handle<Object> RegExpMacroAssemblerRe2k::GetCode() {
241 Handle<ByteArray> array = Factory::NewByteArray(assembler_->length()); 256 Handle<ByteArray> array = Factory::NewByteArray(assembler_->length());
242 assembler_->Copy(array->GetDataStartAddress()); 257 assembler_->Copy(array->GetDataStartAddress());
243 return array; 258 return array;
244 } 259 }
245 260
246 } } // namespace v8::internal 261 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/regexp-macro-assembler-re2k.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698