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

Side by Side Diff: src/x64/regexp-macro-assembler-x64.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
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 Label* on_no_match); 68 Label* on_no_match);
69 virtual void CheckNotRegistersEqual(int reg1, int reg2, Label* on_not_equal); 69 virtual void CheckNotRegistersEqual(int reg1, int reg2, Label* on_not_equal);
70 virtual void CheckNotCharacter(uint32_t c, Label* on_not_equal); 70 virtual void CheckNotCharacter(uint32_t c, Label* on_not_equal);
71 virtual void CheckNotCharacterAfterAnd(uint32_t c, 71 virtual void CheckNotCharacterAfterAnd(uint32_t c,
72 uint32_t mask, 72 uint32_t 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,
79 uc16 to,
80 Label* on_in_range);
81 virtual void CheckCharacterNotInRange(uc16 from,
82 uc16 to,
83 Label* on_not_in_range);
84 virtual void CheckBitInTable(Handle<ByteArray> table, Label* on_bit_set);
85
78 // Checks whether the given offset from the current position is before 86 // Checks whether the given offset from the current position is before
79 // the end of the string. 87 // the end of the string.
80 virtual void CheckPosition(int cp_offset, Label* on_outside_input); 88 virtual void CheckPosition(int cp_offset, Label* on_outside_input);
81 virtual bool CheckSpecialCharacterClass(uc16 type, 89 virtual bool CheckSpecialCharacterClass(uc16 type,
82 Label* on_no_match); 90 Label* on_no_match);
83 virtual void Fail(); 91 virtual void Fail();
84 virtual Handle<HeapObject> GetCode(Handle<String> source); 92 virtual Handle<HeapObject> GetCode(Handle<String> source);
85 virtual void GoTo(Label* label); 93 virtual void GoTo(Label* label);
86 virtual void IfRegisterGE(int reg, int comparand, Label* if_ge); 94 virtual void IfRegisterGE(int reg, int comparand, Label* if_ge);
87 virtual void IfRegisterLT(int reg, int comparand, Label* if_lt); 95 virtual void IfRegisterLT(int reg, int comparand, Label* if_lt);
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 Label exit_label_; 287 Label exit_label_;
280 Label check_preempt_label_; 288 Label check_preempt_label_;
281 Label stack_overflow_label_; 289 Label stack_overflow_label_;
282 }; 290 };
283 291
284 #endif // V8_INTERPRETED_REGEXP 292 #endif // V8_INTERPRETED_REGEXP
285 293
286 }} // namespace v8::internal 294 }} // namespace v8::internal
287 295
288 #endif // V8_X64_REGEXP_MACRO_ASSEMBLER_X64_H_ 296 #endif // V8_X64_REGEXP_MACRO_ASSEMBLER_X64_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698