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

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

Issue 9854020: RegExp: Add support for table-based character class (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 8 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 | « no previous file | src/arm/regexp-macro-assembler-arm.cc » ('j') | src/jsregexp.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 Label* on_no_match); 72 Label* on_no_match);
73 virtual void CheckNotRegistersEqual(int reg1, int reg2, Label* on_not_equal); 73 virtual void CheckNotRegistersEqual(int reg1, int reg2, Label* on_not_equal);
74 virtual void CheckNotCharacter(unsigned c, Label* on_not_equal); 74 virtual void CheckNotCharacter(unsigned c, Label* on_not_equal);
75 virtual void CheckNotCharacterAfterAnd(unsigned c, 75 virtual void CheckNotCharacterAfterAnd(unsigned c,
76 unsigned mask, 76 unsigned mask,
77 Label* on_not_equal); 77 Label* on_not_equal);
78 virtual void CheckNotCharacterAfterMinusAnd(uc16 c, 78 virtual void CheckNotCharacterAfterMinusAnd(uc16 c,
79 uc16 minus, 79 uc16 minus,
80 uc16 mask, 80 uc16 mask,
81 Label* on_not_equal); 81 Label* on_not_equal);
82 virtual void CheckCharacterInRange(uc16 from,
83 uc16 to,
84 Label* on_in_range);
85 virtual void CheckCharacterNotInRange(uc16 from,
86 uc16 to,
87 Label* on_not_in_range);
88 virtual void CheckBitInTable(Handle<ByteArray> table, Label* on_bit_set);
89
82 // Checks whether the given offset from the current position is before 90 // Checks whether the given offset from the current position is before
83 // the end of the string. 91 // the end of the string.
84 virtual void CheckPosition(int cp_offset, Label* on_outside_input); 92 virtual void CheckPosition(int cp_offset, Label* on_outside_input);
85 virtual bool CheckSpecialCharacterClass(uc16 type, 93 virtual bool CheckSpecialCharacterClass(uc16 type,
86 Label* on_no_match); 94 Label* on_no_match);
87 virtual void Fail(); 95 virtual void Fail();
88 virtual Handle<HeapObject> GetCode(Handle<String> source); 96 virtual Handle<HeapObject> GetCode(Handle<String> source);
89 virtual void GoTo(Label* label); 97 virtual void GoTo(Label* label);
90 virtual void IfRegisterGE(int reg, int comparand, Label* if_ge); 98 virtual void IfRegisterGE(int reg, int comparand, Label* if_ge);
91 virtual void IfRegisterLT(int reg, int comparand, Label* if_lt); 99 virtual void IfRegisterLT(int reg, int comparand, Label* if_lt);
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 Label check_preempt_label_; 256 Label check_preempt_label_;
249 Label stack_overflow_label_; 257 Label stack_overflow_label_;
250 }; 258 };
251 259
252 #endif // V8_INTERPRETED_REGEXP 260 #endif // V8_INTERPRETED_REGEXP
253 261
254 262
255 }} // namespace v8::internal 263 }} // namespace v8::internal
256 264
257 #endif // V8_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_ 265 #endif // V8_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/regexp-macro-assembler-arm.cc » ('j') | src/jsregexp.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698