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

Side by Side Diff: src/regexp-macro-assembler-tracer.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/regexp-macro-assembler-irregexp.cc ('k') | src/regexp-macro-assembler-tracer.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 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 virtual void AdvanceRegister(int reg, int by); // r[reg] += by. 42 virtual void AdvanceRegister(int reg, int by); // r[reg] += by.
43 virtual void Backtrack(); 43 virtual void Backtrack();
44 virtual void Bind(Label* label); 44 virtual void Bind(Label* label);
45 virtual void CheckAtStart(Label* on_at_start); 45 virtual void CheckAtStart(Label* on_at_start);
46 virtual void CheckCharacter(unsigned c, Label* on_equal); 46 virtual void CheckCharacter(unsigned c, Label* on_equal);
47 virtual void CheckCharacterAfterAnd(unsigned c, 47 virtual void CheckCharacterAfterAnd(unsigned c,
48 unsigned and_with, 48 unsigned and_with,
49 Label* on_equal); 49 Label* on_equal);
50 virtual void CheckCharacterGT(uc16 limit, Label* on_greater); 50 virtual void CheckCharacterGT(uc16 limit, Label* on_greater);
51 virtual void CheckCharacterLT(uc16 limit, Label* on_less); 51 virtual void CheckCharacterLT(uc16 limit, Label* on_less);
52 virtual void CheckCharacters(
53 Vector<const uc16> str,
54 int cp_offset,
55 Label* on_failure,
56 bool check_end_of_string);
57 virtual void CheckGreedyLoop(Label* on_tos_equals_current_position); 52 virtual void CheckGreedyLoop(Label* on_tos_equals_current_position);
58 virtual void CheckNotAtStart(Label* on_not_at_start); 53 virtual void CheckNotAtStart(Label* on_not_at_start);
59 virtual void CheckNotBackReference(int start_reg, Label* on_no_match); 54 virtual void CheckNotBackReference(int start_reg, Label* on_no_match);
60 virtual void CheckNotBackReferenceIgnoreCase(int start_reg, 55 virtual void CheckNotBackReferenceIgnoreCase(int start_reg,
61 Label* on_no_match); 56 Label* on_no_match);
62 virtual void CheckNotCharacter(unsigned c, Label* on_not_equal); 57 virtual void CheckNotCharacter(unsigned c, Label* on_not_equal);
63 virtual void CheckNotCharacterAfterAnd(unsigned c, 58 virtual void CheckNotCharacterAfterAnd(unsigned c,
64 unsigned and_with, 59 unsigned and_with,
65 Label* on_not_equal); 60 Label* on_not_equal);
66 virtual void CheckNotCharacterAfterMinusAnd(uc16 c, 61 virtual void CheckNotCharacterAfterMinusAnd(uc16 c,
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 virtual void ClearRegisters(int reg_from, int reg_to); 97 virtual void ClearRegisters(int reg_from, int reg_to);
103 virtual void WriteStackPointerToRegister(int reg); 98 virtual void WriteStackPointerToRegister(int reg);
104 99
105 private: 100 private:
106 RegExpMacroAssembler* assembler_; 101 RegExpMacroAssembler* assembler_;
107 }; 102 };
108 103
109 }} // namespace v8::internal 104 }} // namespace v8::internal
110 105
111 #endif // V8_REGEXP_MACRO_ASSEMBLER_TRACER_H_ 106 #endif // V8_REGEXP_MACRO_ASSEMBLER_TRACER_H_
OLDNEW
« no previous file with comments | « src/regexp-macro-assembler-irregexp.cc ('k') | src/regexp-macro-assembler-tracer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698