OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "src/compiler/pipeline.h" | 7 #include "src/compiler/pipeline.h" |
8 #include "src/handles.h" | 8 #include "src/handles.h" |
9 #include "src/interpreter/bytecode-generator.h" | 9 #include "src/interpreter/bytecode-generator.h" |
10 #include "src/interpreter/interpreter.h" | 10 #include "src/interpreter/interpreter.h" |
11 #include "src/isolate.h" | 11 #include "src/isolate.h" |
12 #include "src/parsing/parser.h" | |
13 #include "test/cctest/cctest.h" | 12 #include "test/cctest/cctest.h" |
14 #include "test/cctest/interpreter/source-position-matcher.h" | 13 #include "test/cctest/interpreter/source-position-matcher.h" |
15 | 14 |
16 namespace v8 { | 15 namespace v8 { |
17 namespace internal { | 16 namespace internal { |
18 namespace interpreter { | 17 namespace interpreter { |
19 | 18 |
20 // Flags enabling optimizations that change generated bytecode array. | 19 // Flags enabling optimizations that change generated bytecode array. |
21 // Format is <command-line flag> <flag name> <bit index> | 20 // Format is <command-line flag> <flag name> <bit index> |
22 #define OPTIMIZATION_FLAGS(V) \ | 21 #define OPTIMIZATION_FLAGS(V) \ |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 #define MAKE_TEST(Name, Bitmap) \ | 240 #define MAKE_TEST(Name, Bitmap) \ |
242 TEST(TestSourcePositionsEquivalent##Name) { \ | 241 TEST(TestSourcePositionsEquivalent##Name) { \ |
243 TestSourcePositionsEquivalent(Bitmap); \ | 242 TestSourcePositionsEquivalent(Bitmap); \ |
244 } | 243 } |
245 TEST_CASES(MAKE_TEST) | 244 TEST_CASES(MAKE_TEST) |
246 #undef MAKE_TEST | 245 #undef MAKE_TEST |
247 | 246 |
248 } // namespace interpreter | 247 } // namespace interpreter |
249 } // namespace internal | 248 } // namespace internal |
250 } // namespace v8 | 249 } // namespace v8 |
OLD | NEW |