Index: src/jsregexp.h |
diff --git a/src/jsregexp.h b/src/jsregexp.h |
index ecb604883f5ba78343824398fa9600ce476327c2..4da8ba342c26720fd48d0fe5cc68e55d9e790355 100644 |
--- a/src/jsregexp.h |
+++ b/src/jsregexp.h |
@@ -296,7 +296,7 @@ class OutSet: public ZoneObject { |
public: |
OutSet() : first_(0), remaining_(NULL), successors_(NULL) { } |
OutSet* Extend(unsigned value, Zone* zone); |
- bool Get(unsigned value); |
+ bool Get(unsigned value) const; |
static const unsigned kFirstLimit = 32; |
private: |
@@ -1465,14 +1465,14 @@ class Trace { |
int FindAffectedRegisters(OutSet* affected_registers, Zone* zone); |
void PerformDeferredActions(RegExpMacroAssembler* macro, |
int max_register, |
- OutSet& affected_registers, |
+ const OutSet& affected_registers, |
OutSet* registers_to_pop, |
OutSet* registers_to_clear, |
Zone* zone); |
void RestoreAffectedRegisters(RegExpMacroAssembler* macro, |
int max_register, |
- OutSet& registers_to_pop, |
- OutSet& registers_to_clear); |
+ const OutSet& registers_to_pop, |
+ const OutSet& registers_to_clear); |
int cp_offset_; |
DeferredAction* actions_; |
Label* backtrack_; |