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

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

Issue 18193: Add support for \b and ^ and $ in multiline mode, completing Irregexp... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 11 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 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 25 matching lines...) Expand all
36 enum Mode { ASCII = 1, UC16 = 2 }; 36 enum Mode { ASCII = 1, UC16 = 2 };
37 enum Result { EXCEPTION = -1, FAILURE = 0, SUCCESS = 1 }; 37 enum Result { EXCEPTION = -1, FAILURE = 0, SUCCESS = 1 };
38 38
39 RegExpMacroAssemblerIA32(Mode mode, int registers_to_save); 39 RegExpMacroAssemblerIA32(Mode mode, int registers_to_save);
40 virtual ~RegExpMacroAssemblerIA32(); 40 virtual ~RegExpMacroAssemblerIA32();
41 virtual int stack_limit_slack(); 41 virtual int stack_limit_slack();
42 virtual void AdvanceCurrentPosition(int by); 42 virtual void AdvanceCurrentPosition(int by);
43 virtual void AdvanceRegister(int reg, int by); 43 virtual void AdvanceRegister(int reg, int by);
44 virtual void Backtrack(); 44 virtual void Backtrack();
45 virtual void Bind(Label* label); 45 virtual void Bind(Label* label);
46 virtual void CheckAtStart(Label* on_at_start);
46 virtual void CheckBitmap(uc16 start, Label* bitmap, Label* on_zero); 47 virtual void CheckBitmap(uc16 start, Label* bitmap, Label* on_zero);
47 virtual void CheckCharacter(uint32_t c, Label* on_equal); 48 virtual void CheckCharacter(uint32_t c, Label* on_equal);
48 virtual void CheckCharacterAfterAnd(uint32_t c, 49 virtual void CheckCharacterAfterAnd(uint32_t c,
49 uint32_t mask, 50 uint32_t mask,
50 Label* on_equal); 51 Label* on_equal);
51 virtual void CheckCharacterGT(uc16 limit, Label* on_greater); 52 virtual void CheckCharacterGT(uc16 limit, Label* on_greater);
52 virtual void CheckCharacterLT(uc16 limit, Label* on_less); 53 virtual void CheckCharacterLT(uc16 limit, Label* on_less);
53 virtual void CheckCharacters(Vector<const uc16> str, 54 virtual void CheckCharacters(Vector<const uc16> str,
54 int cp_offset, 55 int cp_offset,
55 Label* on_failure, 56 Label* on_failure,
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 Label check_preempt_label_; 252 Label check_preempt_label_;
252 Label stack_overflow_label_; 253 Label stack_overflow_label_;
253 254
254 // Handle used to represent the generated code object itself. 255 // Handle used to represent the generated code object itself.
255 Handle<Object> self_; 256 Handle<Object> self_;
256 }; 257 };
257 258
258 }} // namespace v8::internal 259 }} // namespace v8::internal
259 260
260 #endif /* REGEXP_MACRO_ASSEMBLER_IA32_H_ */ 261 #endif /* REGEXP_MACRO_ASSEMBLER_IA32_H_ */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698