| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // A simple interpreter for the Irregexp byte code. | 5 // A simple interpreter for the Irregexp byte code. |
| 6 | 6 |
| 7 | 7 |
| 8 #include "src/v8.h" | 8 #include "src/v8.h" |
| 9 #include "src/unicode.h" | 9 |
| 10 #include "src/utils.h" | |
| 11 #include "src/ast.h" | 10 #include "src/ast.h" |
| 12 #include "src/bytecodes-irregexp.h" | 11 #include "src/bytecodes-irregexp.h" |
| 13 #include "src/interpreter-irregexp.h" | 12 #include "src/interpreter-irregexp.h" |
| 14 #include "src/jsregexp.h" | 13 #include "src/jsregexp.h" |
| 15 #include "src/regexp-macro-assembler.h" | 14 #include "src/regexp-macro-assembler.h" |
| 15 #include "src/unicode.h" |
| 16 #include "src/utils.h" |
| 16 | 17 |
| 17 namespace v8 { | 18 namespace v8 { |
| 18 namespace internal { | 19 namespace internal { |
| 19 | 20 |
| 20 | 21 |
| 21 typedef unibrow::Mapping<unibrow::Ecma262Canonicalize> Canonicalize; | 22 typedef unibrow::Mapping<unibrow::Ecma262Canonicalize> Canonicalize; |
| 22 | 23 |
| 23 static bool BackRefMatchesNoCase(Canonicalize* interp_canonicalize, | 24 static bool BackRefMatchesNoCase(Canonicalize* interp_canonicalize, |
| 24 int from, | 25 int from, |
| 25 int current, | 26 int current, |
| (...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 601 return RawMatch(isolate, | 602 return RawMatch(isolate, |
| 602 code_base, | 603 code_base, |
| 603 subject_vector, | 604 subject_vector, |
| 604 registers, | 605 registers, |
| 605 start_position, | 606 start_position, |
| 606 previous_char); | 607 previous_char); |
| 607 } | 608 } |
| 608 } | 609 } |
| 609 | 610 |
| 610 } } // namespace v8::internal | 611 } } // namespace v8::internal |
| OLD | NEW |