OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 #include "src/regexp/jsregexp.h" | 5 #include "src/regexp/jsregexp.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 | 8 |
9 #include "src/ast/ast.h" | |
10 #include "src/base/platform/platform.h" | 9 #include "src/base/platform/platform.h" |
11 #include "src/compilation-cache.h" | 10 #include "src/compilation-cache.h" |
12 #include "src/compiler.h" | 11 #include "src/compiler.h" |
13 #include "src/elements.h" | 12 #include "src/elements.h" |
14 #include "src/execution.h" | 13 #include "src/execution.h" |
15 #include "src/factory.h" | 14 #include "src/factory.h" |
16 #include "src/isolate-inl.h" | 15 #include "src/isolate-inl.h" |
17 #include "src/messages.h" | 16 #include "src/messages.h" |
18 #include "src/ostreams.h" | 17 #include "src/ostreams.h" |
19 #include "src/regexp/interpreter-irregexp.h" | 18 #include "src/regexp/interpreter-irregexp.h" |
(...skipping 6852 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6872 | 6871 |
6873 | 6872 |
6874 void RegExpResultsCache::Clear(FixedArray* cache) { | 6873 void RegExpResultsCache::Clear(FixedArray* cache) { |
6875 for (int i = 0; i < kRegExpResultsCacheSize; i++) { | 6874 for (int i = 0; i < kRegExpResultsCacheSize; i++) { |
6876 cache->set(i, Smi::FromInt(0)); | 6875 cache->set(i, Smi::FromInt(0)); |
6877 } | 6876 } |
6878 } | 6877 } |
6879 | 6878 |
6880 } // namespace internal | 6879 } // namespace internal |
6881 } // namespace v8 | 6880 } // namespace v8 |
OLD | NEW |