diff options
Diffstat (limited to 'js/src/irregexp/RegExpAST.cpp')
-rw-r--r-- | js/src/irregexp/RegExpAST.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/src/irregexp/RegExpAST.cpp b/js/src/irregexp/RegExpAST.cpp index 43867c312..8dfd99057 100644 --- a/js/src/irregexp/RegExpAST.cpp +++ b/js/src/irregexp/RegExpAST.cpp @@ -250,16 +250,16 @@ RegExpCapture::CaptureRegisters() } // ---------------------------------------------------------------------------- -// RegExpLookaround +// RegExpLookahead Interval -RegExpLookaround::CaptureRegisters() +RegExpLookahead::CaptureRegisters() { return body()->CaptureRegisters(); } bool -RegExpLookaround::IsAnchoredAtStart() +RegExpLookahead::IsAnchoredAtStart() { - return is_positive() && type() == LOOKAHEAD && body()->IsAnchoredAtStart(); + return is_positive() && body()->IsAnchoredAtStart(); } |