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

Unified Diff: src/jsregexp.h

Issue 12861: Regexp logging and stl (Closed)
Patch Set: Created 12 years 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
diff --git a/src/jsregexp.h b/src/jsregexp.h
index 38357d670ce86ce3aee98c27ec81f5db3046af46..3ab6651632f537b93210610649c2687a3b54379c 100644
--- a/src/jsregexp.h
+++ b/src/jsregexp.h
@@ -467,7 +467,8 @@ struct NodeInfo {
at_end(false),
follows_word(UNKNOWN),
follows_newline(UNKNOWN),
- follows_start(UNKNOWN) { }
+ follows_start(UNKNOWN),
+ visited(false) { }
// Returns true if the interests and assumptions of this node
// matches the given one.
@@ -566,6 +567,8 @@ struct NodeInfo {
TriBool follows_word: 2;
TriBool follows_newline: 2;
TriBool follows_start: 2;
+
+ bool visited: 1;
};
« 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