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

Unified Diff: src/jsregexp.h

Issue 10947: Generate code for choice nodes. (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
« no previous file with comments | « no previous file | src/jsregexp.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/jsregexp.h
===================================================================
--- src/jsregexp.h (revision 753)
+++ src/jsregexp.h (working copy)
@@ -404,7 +404,7 @@
// Until the implementation is complete we will return true for success and
// false for failure.
bool GoTo(RegExpCompiler* compiler);
- void EmitAddress(RegExpCompiler* compiler);
+ Label* GetLabel();
Christian Plesner Hansen 2008/11/14 13:28:34 Since this is a simple accessor you could just cal
// Until the implementation is complete we will return true for success and
// false for failure.
virtual bool Emit(RegExpCompiler* compiler) = 0;
@@ -589,6 +589,9 @@
bool visited() { return visited_; }
void set_visited(bool value) { visited_ = value; }
private:
+ void GenerateGuard(RegExpCompiler* compiler,
+ Guard *guard,
+ Label* on_failure);
RegExpNode* on_failure_;
ZoneList<GuardedAlternative>* choices_;
DispatchTable table_;
« no previous file with comments | « no previous file | src/jsregexp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698