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

Side by Side Diff: src/mips/regexp-macro-assembler-mips.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/ia32/regexp-macro-assembler-ia32.cc ('k') | src/mips/regexp-macro-assembler-mips.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 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 virtual void AdvanceRegister(int reg, int by); 48 virtual void AdvanceRegister(int reg, int by);
49 virtual void Backtrack(); 49 virtual void Backtrack();
50 virtual void Bind(Label* label); 50 virtual void Bind(Label* label);
51 virtual void CheckAtStart(Label* on_at_start); 51 virtual void CheckAtStart(Label* on_at_start);
52 virtual void CheckCharacter(uint32_t c, Label* on_equal); 52 virtual void CheckCharacter(uint32_t c, Label* on_equal);
53 virtual void CheckCharacterAfterAnd(uint32_t c, 53 virtual void CheckCharacterAfterAnd(uint32_t c,
54 uint32_t mask, 54 uint32_t mask,
55 Label* on_equal); 55 Label* on_equal);
56 virtual void CheckCharacterGT(uc16 limit, Label* on_greater); 56 virtual void CheckCharacterGT(uc16 limit, Label* on_greater);
57 virtual void CheckCharacterLT(uc16 limit, Label* on_less); 57 virtual void CheckCharacterLT(uc16 limit, Label* on_less);
58 virtual void CheckCharacters(Vector<const uc16> str,
59 int cp_offset,
60 Label* on_failure,
61 bool check_end_of_string);
62 // A "greedy loop" is a loop that is both greedy and with a simple 58 // A "greedy loop" is a loop that is both greedy and with a simple
63 // body. It has a particularly simple implementation. 59 // body. It has a particularly simple implementation.
64 virtual void CheckGreedyLoop(Label* on_tos_equals_current_position); 60 virtual void CheckGreedyLoop(Label* on_tos_equals_current_position);
65 virtual void CheckNotAtStart(Label* on_not_at_start); 61 virtual void CheckNotAtStart(Label* on_not_at_start);
66 virtual void CheckNotBackReference(int start_reg, Label* on_no_match); 62 virtual void CheckNotBackReference(int start_reg, Label* on_no_match);
67 virtual void CheckNotBackReferenceIgnoreCase(int start_reg, 63 virtual void CheckNotBackReferenceIgnoreCase(int start_reg,
68 Label* on_no_match); 64 Label* on_no_match);
69 virtual void CheckNotCharacter(uint32_t c, Label* on_not_equal); 65 virtual void CheckNotCharacter(uint32_t c, Label* on_not_equal);
70 virtual void CheckNotCharacterAfterAnd(uint32_t c, 66 virtual void CheckNotCharacterAfterAnd(uint32_t c,
71 uint32_t mask, 67 uint32_t mask,
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 Label stack_overflow_label_; 249 Label stack_overflow_label_;
254 Label internal_failure_label_; 250 Label internal_failure_label_;
255 }; 251 };
256 252
257 #endif // V8_INTERPRETED_REGEXP 253 #endif // V8_INTERPRETED_REGEXP
258 254
259 255
260 }} // namespace v8::internal 256 }} // namespace v8::internal
261 257
262 #endif // V8_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_ 258 #endif // V8_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/ia32/regexp-macro-assembler-ia32.cc ('k') | src/mips/regexp-macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698