Index: src/jsregexp.h |
=================================================================== |
--- src/jsregexp.h (revision 1301) |
+++ src/jsregexp.h (working copy) |
@@ -1176,6 +1176,7 @@ |
loop_label_(NULL), |
characters_preloaded_(0), |
bound_checked_up_to_(0), |
+ flush_budget_(100), |
Lasse Reichstein
2009/02/18 15:29:05
Have other initial values of flush_budget been tri
|
at_start_(UNKNOWN) { } |
// End the trace. This involves flushing the deferred actions in the trace |
@@ -1211,6 +1212,7 @@ |
RegExpNode* stop_node() { return stop_node_; } |
int characters_preloaded() { return characters_preloaded_; } |
int bound_checked_up_to() { return bound_checked_up_to_; } |
+ int flush_budget() { return flush_budget_; } |
QuickCheckDetails* quick_check_performed() { return &quick_check_performed_; } |
bool mentions_reg(int reg); |
// Returns true if a deferred position store exists to the specified |
@@ -1229,6 +1231,7 @@ |
void set_loop_label(Label* label) { loop_label_ = label; } |
void set_characters_preloaded(int cpre) { characters_preloaded_ = cpre; } |
void set_bound_checked_up_to(int to) { bound_checked_up_to_ = to; } |
+ void set_flush_budget(int to) { flush_budget_ = to; } |
void set_quick_check_performed(QuickCheckDetails* d) { |
quick_check_performed_ = *d; |
} |
@@ -1253,6 +1256,7 @@ |
int characters_preloaded_; |
int bound_checked_up_to_; |
QuickCheckDetails quick_check_performed_; |
+ int flush_budget_; |
TriBool at_start_; |
}; |