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/objects-inl.h" |
12 #include "test/cctest/cctest.h" | 13 #include "test/cctest/cctest.h" |
13 #include "test/cctest/interpreter/source-position-matcher.h" | 14 #include "test/cctest/interpreter/source-position-matcher.h" |
14 | 15 |
15 namespace v8 { | 16 namespace v8 { |
16 namespace internal { | 17 namespace internal { |
17 namespace interpreter { | 18 namespace interpreter { |
18 | 19 |
19 // Flags enabling optimizations that change generated bytecode array. | 20 // Flags enabling optimizations that change generated bytecode array. |
20 // Format is <command-line flag> <flag name> <bit index> | 21 // Format is <command-line flag> <flag name> <bit index> |
21 #define OPTIMIZATION_FLAGS(V) \ | 22 #define OPTIMIZATION_FLAGS(V) \ |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 #define MAKE_TEST(Name, Bitmap) \ | 238 #define MAKE_TEST(Name, Bitmap) \ |
238 TEST(TestSourcePositionsEquivalent##Name) { \ | 239 TEST(TestSourcePositionsEquivalent##Name) { \ |
239 TestSourcePositionsEquivalent(Bitmap); \ | 240 TestSourcePositionsEquivalent(Bitmap); \ |
240 } | 241 } |
241 TEST_CASES(MAKE_TEST) | 242 TEST_CASES(MAKE_TEST) |
242 #undef MAKE_TEST | 243 #undef MAKE_TEST |
243 | 244 |
244 } // namespace interpreter | 245 } // namespace interpreter |
245 } // namespace internal | 246 } // namespace internal |
246 } // namespace v8 | 247 } // namespace v8 |
OLD | NEW |