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 <fstream> | 5 #include <fstream> |
6 | 6 |
7 #include "src/v8.h" | 7 #include "src/v8.h" |
8 | 8 |
9 #include "src/compiler.h" | |
10 #include "src/interpreter/bytecode-array-iterator.h" | 9 #include "src/interpreter/bytecode-array-iterator.h" |
11 #include "src/interpreter/bytecode-generator.h" | 10 #include "src/interpreter/bytecode-generator.h" |
12 #include "src/interpreter/interpreter.h" | 11 #include "src/interpreter/interpreter.h" |
13 #include "test/cctest/cctest.h" | 12 #include "test/cctest/cctest.h" |
14 #include "test/cctest/interpreter/bytecode-expectations-printer.h" | 13 #include "test/cctest/interpreter/bytecode-expectations-printer.h" |
15 #include "test/cctest/test-feedback-vector.h" | 14 #include "test/cctest/test-feedback-vector.h" |
16 | 15 |
17 namespace v8 { | 16 namespace v8 { |
18 namespace internal { | 17 namespace internal { |
19 namespace interpreter { | 18 namespace interpreter { |
(...skipping 2238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2258 "f();\n", | 2257 "f();\n", |
2259 }; | 2258 }; |
2260 | 2259 |
2261 CHECK(CompareTexts(BuildActual(printer, snippets), | 2260 CHECK(CompareTexts(BuildActual(printer, snippets), |
2262 LoadGolden("Generators.golden"))); | 2261 LoadGolden("Generators.golden"))); |
2263 } | 2262 } |
2264 | 2263 |
2265 } // namespace interpreter | 2264 } // namespace interpreter |
2266 } // namespace internal | 2265 } // namespace internal |
2267 } // namespace v8 | 2266 } // namespace v8 |
OLD | NEW |