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

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

Issue 17409: Check for empty repetitions. (Closed)
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
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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 const Vector<Label*>& destinations); 79 const Vector<Label*>& destinations);
80 virtual void DispatchHighByteMap(byte start, 80 virtual void DispatchHighByteMap(byte start,
81 Label* byte_map, 81 Label* byte_map,
82 const Vector<Label*>& destinations); 82 const Vector<Label*>& destinations);
83 virtual void EmitOrLink(Label* label); 83 virtual void EmitOrLink(Label* label);
84 virtual void Fail(); 84 virtual void Fail();
85 virtual Handle<Object> GetCode(Handle<String> source); 85 virtual Handle<Object> GetCode(Handle<String> source);
86 virtual void GoTo(Label* label); 86 virtual void GoTo(Label* label);
87 virtual void IfRegisterGE(int reg, int comparand, Label* if_ge); 87 virtual void IfRegisterGE(int reg, int comparand, Label* if_ge);
88 virtual void IfRegisterLT(int reg, int comparand, Label* if_lt); 88 virtual void IfRegisterLT(int reg, int comparand, Label* if_lt);
89 virtual void IfRegisterEqPos(int reg, Label* if_eq);
89 virtual IrregexpImplementation Implementation(); 90 virtual IrregexpImplementation Implementation();
90 virtual void LoadCurrentCharacter(int cp_offset, 91 virtual void LoadCurrentCharacter(int cp_offset,
91 Label* on_end_of_input, 92 Label* on_end_of_input,
92 bool check_bounds = true, 93 bool check_bounds = true,
93 int characters = 1); 94 int characters = 1);
94 virtual void PopCurrentPosition(); 95 virtual void PopCurrentPosition();
95 virtual void PopRegister(int register_index); 96 virtual void PopRegister(int register_index);
96 virtual void PushBacktrack(Label* label); 97 virtual void PushBacktrack(Label* label);
97 virtual void PushCurrentPosition(); 98 virtual void PushCurrentPosition();
98 virtual void PushRegister(int register_index); 99 virtual void PushRegister(int register_index);
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 Label backtrack_label_; 213 Label backtrack_label_;
213 Label exit_label_; 214 Label exit_label_;
214 Label check_preempt_label_; 215 Label check_preempt_label_;
215 // Handle used to represent the generated code object itself. 216 // Handle used to represent the generated code object itself.
216 Handle<Object> self_; 217 Handle<Object> self_;
217 }; 218 };
218 219
219 }} // namespace v8::internal 220 }} // namespace v8::internal
220 221
221 #endif /* REGEXP_MACRO_ASSEMBLER_IA32_H_ */ 222 #endif /* REGEXP_MACRO_ASSEMBLER_IA32_H_ */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698