Index: src/jsregexp.h |
diff --git a/src/jsregexp.h b/src/jsregexp.h |
index 528a9a2f4604fb23adaba124df3a9a7a7e4b1890..c368a91541ef8992ccda8e3da0d8868bff9803da 100644 |
--- a/src/jsregexp.h |
+++ b/src/jsregexp.h |
@@ -1330,7 +1330,7 @@ class Trace { |
// A value for a property that is either known to be true, know to be false, |
// or not known. |
enum TriBool { |
- UNKNOWN = -1, FALSE = 0, TRUE = 1 |
+ UNKNOWN = -1, FALSE_LITERAL = 0, TRUE_LITERAL = 1 |
}; |
class DeferredAction { |
@@ -1426,7 +1426,9 @@ class Trace { |
at_start_ == UNKNOWN; |
} |
TriBool at_start() { return at_start_; } |
- void set_at_start(bool at_start) { at_start_ = at_start ? TRUE : FALSE; } |
+ void set_at_start(bool at_start) { |
+ at_start_ = at_start ? TRUE_LITERAL : FALSE_LITERAL; |
+ } |
Label* backtrack() { return backtrack_; } |
Label* loop_label() { return loop_label_; } |
RegExpNode* stop_node() { return stop_node_; } |