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

Unified Diff: src/regexp-macro-assembler.h

Issue 11319: * Add support for positive lookahead assertions and negative... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/regexp2000/
Patch Set: Created 12 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: src/regexp-macro-assembler.h
===================================================================
--- src/regexp-macro-assembler.h (revision 799)
+++ src/regexp-macro-assembler.h (working copy)
@@ -56,9 +56,14 @@
virtual void AdvanceRegister(int reg, int by) = 0; // r[reg] += by.
virtual void SetRegister(int register_index, int to) = 0;
virtual void WriteCurrentPositionToRegister(int reg) = 0;
+ virtual void SetCurrentPositionFromRegister(int reg) = 0;
+ virtual void WriteStackPointerToRegister(int reg) = 0;
+ virtual void SetStackPointerFromRegister(int reg) = 0;
virtual void LoadCurrentCharacter(int cp_offset, Label* on_end_of_input) = 0;
virtual void CheckCharacterLT(uc16 limit, Label* on_less) = 0;
virtual void CheckCharacterGT(uc16 limit, Label* on_greater) = 0;
+ virtual void CheckCharacter(uc16 c, Label* on_equal) = 0;
+ virtual void CheckNotCharacter(uc16 c, Label* on_not_equal) = 0;
// Check the current character for a match with a literal string. If we
// fail to match then goto the on_failure label. End of input always
// matches. If the label is NULL then we should pop a backtrack address off
« src/jsregexp.cc ('K') | « src/jsregexp.cc ('k') | src/regexp-macro-assembler-re2k.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698