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

Side by Side Diff: src/mips/regexp-macro-assembler-mips.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 Label* on_no_match); 74 Label* on_no_match);
75 virtual void CheckNotRegistersEqual(int reg1, int reg2, Label* on_not_equal); 75 virtual void CheckNotRegistersEqual(int reg1, int reg2, Label* on_not_equal);
76 virtual void CheckNotCharacter(uint32_t c, Label* on_not_equal); 76 virtual void CheckNotCharacter(uint32_t c, Label* on_not_equal);
77 virtual void CheckNotCharacterAfterAnd(uint32_t c, 77 virtual void CheckNotCharacterAfterAnd(uint32_t c,
78 uint32_t mask, 78 uint32_t mask,
79 Label* on_not_equal); 79 Label* on_not_equal);
80 virtual void CheckNotCharacterAfterMinusAnd(uc16 c, 80 virtual void CheckNotCharacterAfterMinusAnd(uc16 c,
81 uc16 minus, 81 uc16 minus,
82 uc16 mask, 82 uc16 mask,
83 Label* on_not_equal); 83 Label* on_not_equal);
84 virtual void CheckCharacterInRange(uc16 from,
ulan 2012/03/29 16:19:17 These functions do not have implementation. If it
Erik Corry 2012/03/30 07:46:28 It is intentional. I don't have time to fix this
85 uc16 to,
86 Label* on_in_range);
87 virtual void CheckCharacterNotInRange(uc16 from,
88 uc16 to,
89 Label* on_not_in_range);
90 virtual void CheckBitInTable(Handle<ByteArray> table, Label* on_bit_set);
91
84 // Checks whether the given offset from the current position is before 92 // Checks whether the given offset from the current position is before
85 // the end of the string. 93 // the end of the string.
86 virtual void CheckPosition(int cp_offset, Label* on_outside_input); 94 virtual void CheckPosition(int cp_offset, Label* on_outside_input);
87 virtual bool CheckSpecialCharacterClass(uc16 type, 95 virtual bool CheckSpecialCharacterClass(uc16 type,
88 Label* on_no_match); 96 Label* on_no_match);
89 virtual void Fail(); 97 virtual void Fail();
90 virtual Handle<HeapObject> GetCode(Handle<String> source); 98 virtual Handle<HeapObject> GetCode(Handle<String> source);
91 virtual void GoTo(Label* label); 99 virtual void GoTo(Label* label);
92 virtual void IfRegisterGE(int reg, int comparand, Label* if_ge); 100 virtual void IfRegisterGE(int reg, int comparand, Label* if_ge);
93 virtual void IfRegisterLT(int reg, int comparand, Label* if_lt); 101 virtual void IfRegisterLT(int reg, int comparand, Label* if_lt);
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 Label stack_overflow_label_; 257 Label stack_overflow_label_;
250 Label internal_failure_label_; 258 Label internal_failure_label_;
251 }; 259 };
252 260
253 #endif // V8_INTERPRETED_REGEXP 261 #endif // V8_INTERPRETED_REGEXP
254 262
255 263
256 }} // namespace v8::internal 264 }} // namespace v8::internal
257 265
258 #endif // V8_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_ 266 #endif // V8_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698