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

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

Issue 1599303002: [regexp] implement case-insensitive unicode regexps. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@unicodeclass
Patch Set: fixes Created 4 years, 10 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
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_ARM64_REGEXP_MACRO_ASSEMBLER_ARM64_H_ 5 #ifndef V8_REGEXP_ARM64_REGEXP_MACRO_ASSEMBLER_ARM64_H_
6 #define V8_REGEXP_ARM64_REGEXP_MACRO_ASSEMBLER_ARM64_H_ 6 #define V8_REGEXP_ARM64_REGEXP_MACRO_ASSEMBLER_ARM64_H_
7 7
8 #include "src/arm64/assembler-arm64.h" 8 #include "src/arm64/assembler-arm64.h"
9 #include "src/macro-assembler.h" 9 #include "src/macro-assembler.h"
10 #include "src/regexp/regexp-macro-assembler.h" 10 #include "src/regexp/regexp-macro-assembler.h"
(...skipping 25 matching lines...) Expand all
36 int cp_offset, 36 int cp_offset,
37 Label* on_failure, 37 Label* on_failure,
38 bool check_end_of_string); 38 bool check_end_of_string);
39 // A "greedy loop" is a loop that is both greedy and with a simple 39 // A "greedy loop" is a loop that is both greedy and with a simple
40 // body. It has a particularly simple implementation. 40 // body. It has a particularly simple implementation.
41 virtual void CheckGreedyLoop(Label* on_tos_equals_current_position); 41 virtual void CheckGreedyLoop(Label* on_tos_equals_current_position);
42 virtual void CheckNotAtStart(int cp_offset, Label* on_not_at_start); 42 virtual void CheckNotAtStart(int cp_offset, Label* on_not_at_start);
43 virtual void CheckNotBackReference(int start_reg, bool read_backward, 43 virtual void CheckNotBackReference(int start_reg, bool read_backward,
44 Label* on_no_match); 44 Label* on_no_match);
45 virtual void CheckNotBackReferenceIgnoreCase(int start_reg, 45 virtual void CheckNotBackReferenceIgnoreCase(int start_reg,
46 bool read_backward, 46 bool read_backward, bool unicode,
47 Label* on_no_match); 47 Label* on_no_match);
48 virtual void CheckNotCharacter(unsigned c, Label* on_not_equal); 48 virtual void CheckNotCharacter(unsigned c, Label* on_not_equal);
49 virtual void CheckNotCharacterAfterAnd(unsigned c, 49 virtual void CheckNotCharacterAfterAnd(unsigned c,
50 unsigned mask, 50 unsigned mask,
51 Label* on_not_equal); 51 Label* on_not_equal);
52 virtual void CheckNotCharacterAfterMinusAnd(uc16 c, 52 virtual void CheckNotCharacterAfterMinusAnd(uc16 c,
53 uc16 minus, 53 uc16 minus,
54 uc16 mask, 54 uc16 mask,
55 Label* on_not_equal); 55 Label* on_not_equal);
56 virtual void CheckCharacterInRange(uc16 from, 56 virtual void CheckCharacterInRange(uc16 from,
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 Label stack_overflow_label_; 288 Label stack_overflow_label_;
289 }; 289 };
290 290
291 #endif // V8_INTERPRETED_REGEXP 291 #endif // V8_INTERPRETED_REGEXP
292 292
293 293
294 } // namespace internal 294 } // namespace internal
295 } // namespace v8 295 } // namespace v8
296 296
297 #endif // V8_REGEXP_ARM64_REGEXP_MACRO_ASSEMBLER_ARM64_H_ 297 #endif // V8_REGEXP_ARM64_REGEXP_MACRO_ASSEMBLER_ARM64_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698