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

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

Issue 16280005: RegExp macro assembler clean up. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 6 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 | « src/arm/regexp-macro-assembler-arm.cc ('k') | src/ia32/regexp-macro-assembler-ia32.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 virtual void AdvanceRegister(int reg, int by); 45 virtual void AdvanceRegister(int reg, int by);
46 virtual void Backtrack(); 46 virtual void Backtrack();
47 virtual void Bind(Label* label); 47 virtual void Bind(Label* label);
48 virtual void CheckAtStart(Label* on_at_start); 48 virtual void CheckAtStart(Label* on_at_start);
49 virtual void CheckCharacter(uint32_t c, Label* on_equal); 49 virtual void CheckCharacter(uint32_t c, Label* on_equal);
50 virtual void CheckCharacterAfterAnd(uint32_t c, 50 virtual void CheckCharacterAfterAnd(uint32_t c,
51 uint32_t mask, 51 uint32_t mask,
52 Label* on_equal); 52 Label* on_equal);
53 virtual void CheckCharacterGT(uc16 limit, Label* on_greater); 53 virtual void CheckCharacterGT(uc16 limit, Label* on_greater);
54 virtual void CheckCharacterLT(uc16 limit, Label* on_less); 54 virtual void CheckCharacterLT(uc16 limit, Label* on_less);
55 virtual void CheckCharacters(Vector<const uc16> str,
56 int cp_offset,
57 Label* on_failure,
58 bool check_end_of_string);
59 // A "greedy loop" is a loop that is both greedy and with a simple 55 // A "greedy loop" is a loop that is both greedy and with a simple
60 // body. It has a particularly simple implementation. 56 // body. It has a particularly simple implementation.
61 virtual void CheckGreedyLoop(Label* on_tos_equals_current_position); 57 virtual void CheckGreedyLoop(Label* on_tos_equals_current_position);
62 virtual void CheckNotAtStart(Label* on_not_at_start); 58 virtual void CheckNotAtStart(Label* on_not_at_start);
63 virtual void CheckNotBackReference(int start_reg, Label* on_no_match); 59 virtual void CheckNotBackReference(int start_reg, Label* on_no_match);
64 virtual void CheckNotBackReferenceIgnoreCase(int start_reg, 60 virtual void CheckNotBackReferenceIgnoreCase(int start_reg,
65 Label* on_no_match); 61 Label* on_no_match);
66 virtual void CheckNotCharacter(uint32_t c, Label* on_not_equal); 62 virtual void CheckNotCharacter(uint32_t c, Label* on_not_equal);
67 virtual void CheckNotCharacterAfterAnd(uint32_t c, 63 virtual void CheckNotCharacterAfterAnd(uint32_t c,
68 uint32_t mask, 64 uint32_t mask,
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 Label backtrack_label_; 214 Label backtrack_label_;
219 Label exit_label_; 215 Label exit_label_;
220 Label check_preempt_label_; 216 Label check_preempt_label_;
221 Label stack_overflow_label_; 217 Label stack_overflow_label_;
222 }; 218 };
223 #endif // V8_INTERPRETED_REGEXP 219 #endif // V8_INTERPRETED_REGEXP
224 220
225 }} // namespace v8::internal 221 }} // namespace v8::internal
226 222
227 #endif // V8_IA32_REGEXP_MACRO_ASSEMBLER_IA32_H_ 223 #endif // V8_IA32_REGEXP_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/arm/regexp-macro-assembler-arm.cc ('k') | src/ia32/regexp-macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698