OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef V8_CCTEST_COMPILER_FUNCTION_TESTER_H_ | 5 #ifndef V8_CCTEST_COMPILER_FUNCTION_TESTER_H_ |
6 #define V8_CCTEST_COMPILER_FUNCTION_TESTER_H_ | 6 #define V8_CCTEST_COMPILER_FUNCTION_TESTER_H_ |
7 | 7 |
8 #include "src/ast/ast-numbering.h" | 8 #include "src/ast/ast-numbering.h" |
9 #include "src/ast/scopes.h" | |
10 #include "src/compiler.h" | 9 #include "src/compiler.h" |
11 #include "src/compiler/linkage.h" | 10 #include "src/compiler/linkage.h" |
12 #include "src/compiler/pipeline.h" | 11 #include "src/compiler/pipeline.h" |
13 #include "src/execution.h" | 12 #include "src/execution.h" |
14 #include "src/full-codegen/full-codegen.h" | 13 #include "src/full-codegen/full-codegen.h" |
15 #include "src/handles.h" | 14 #include "src/handles.h" |
16 #include "src/objects-inl.h" | 15 #include "src/objects-inl.h" |
17 #include "src/parsing/parse-info.h" | 16 #include "src/parsing/parse-info.h" |
18 #include "src/parsing/parser.h" | 17 #include "src/parsing/parser.h" |
19 #include "src/parsing/rewriter.h" | 18 #include "src/parsing/rewriter.h" |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 CHECK(!code.is_null()); | 262 CHECK(!code.is_null()); |
264 function->ReplaceCode(*code); | 263 function->ReplaceCode(*code); |
265 return function; | 264 return function; |
266 } | 265 } |
267 }; | 266 }; |
268 } // namespace compiler | 267 } // namespace compiler |
269 } // namespace internal | 268 } // namespace internal |
270 } // namespace v8 | 269 } // namespace v8 |
271 | 270 |
272 #endif // V8_CCTEST_COMPILER_FUNCTION_TESTER_H_ | 271 #endif // V8_CCTEST_COMPILER_FUNCTION_TESTER_H_ |
OLD | NEW |