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

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

Issue 18744: * Irregexp: Handle backtrack past look-ahead. (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
« no previous file with comments | « src/regexp-macro-assembler-ia32.cc ('k') | src/regexp-macro-assembler-irregexp.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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 virtual void GoTo(Label* label); 59 virtual void GoTo(Label* label);
60 virtual void PushBacktrack(Label* label); 60 virtual void PushBacktrack(Label* label);
61 virtual void Succeed(); 61 virtual void Succeed();
62 virtual void Fail(); 62 virtual void Fail();
63 virtual void PopRegister(int register_index); 63 virtual void PopRegister(int register_index);
64 virtual void PushRegister(int register_index, 64 virtual void PushRegister(int register_index,
65 StackCheckFlag check_stack_limit); 65 StackCheckFlag check_stack_limit);
66 virtual void AdvanceRegister(int reg, int by); // r[reg] += by. 66 virtual void AdvanceRegister(int reg, int by); // r[reg] += by.
67 virtual void SetRegister(int register_index, int to); 67 virtual void SetRegister(int register_index, int to);
68 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset); 68 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset);
69 virtual void ClearRegister(int reg); 69 virtual void ClearRegisters(int reg_from, int reg_to);
70 virtual void ReadCurrentPositionFromRegister(int reg); 70 virtual void ReadCurrentPositionFromRegister(int reg);
71 virtual void WriteStackPointerToRegister(int reg); 71 virtual void WriteStackPointerToRegister(int reg);
72 virtual void ReadStackPointerFromRegister(int reg); 72 virtual void ReadStackPointerFromRegister(int reg);
73 virtual void LoadCurrentCharacter(int cp_offset, 73 virtual void LoadCurrentCharacter(int cp_offset,
74 Label* on_end_of_input, 74 Label* on_end_of_input,
75 bool check_bounds = true, 75 bool check_bounds = true,
76 int characters = 1); 76 int characters = 1);
77 virtual void CheckCharacter(uint32_t c, Label* on_equal); 77 virtual void CheckCharacter(uint32_t c, Label* on_equal);
78 virtual void CheckCharacterAfterAnd(uint32_t c, 78 virtual void CheckCharacterAfterAnd(uint32_t c,
79 uint32_t mask, 79 uint32_t mask,
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 // True if the assembler owns the buffer, false if buffer is external. 132 // True if the assembler owns the buffer, false if buffer is external.
133 bool own_buffer_; 133 bool own_buffer_;
134 Label backtrack_; 134 Label backtrack_;
135 135
136 DISALLOW_IMPLICIT_CONSTRUCTORS(RegExpMacroAssemblerIrregexp); 136 DISALLOW_IMPLICIT_CONSTRUCTORS(RegExpMacroAssemblerIrregexp);
137 }; 137 };
138 138
139 } } // namespace v8::internal 139 } } // namespace v8::internal
140 140
141 #endif // V8_REGEXP_MACRO_ASSEMBLER_IRREGEXP_H_ 141 #endif // V8_REGEXP_MACRO_ASSEMBLER_IRREGEXP_H_
OLDNEW
« no previous file with comments | « src/regexp-macro-assembler-ia32.cc ('k') | src/regexp-macro-assembler-irregexp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698