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 #include "test/cctest/compiler/function-tester.h" | 5 #include "test/cctest/compiler/function-tester.h" |
6 | 6 |
7 #include "src/ast/ast-numbering.h" | 7 #include "src/ast/ast-numbering.h" |
| 8 #include "src/compilation-info.h" |
8 #include "src/compiler.h" | 9 #include "src/compiler.h" |
9 #include "src/compiler/linkage.h" | 10 #include "src/compiler/linkage.h" |
10 #include "src/compiler/pipeline.h" | 11 #include "src/compiler/pipeline.h" |
11 #include "src/execution.h" | 12 #include "src/execution.h" |
12 #include "src/full-codegen/full-codegen.h" | 13 #include "src/full-codegen/full-codegen.h" |
13 #include "src/handles.h" | 14 #include "src/handles.h" |
14 #include "src/objects-inl.h" | 15 #include "src/objects-inl.h" |
15 #include "src/parsing/parse-info.h" | 16 #include "src/parsing/parse-info.h" |
16 #include "src/parsing/parser.h" | 17 #include "src/parsing/parser.h" |
17 #include "test/cctest/cctest.h" | 18 #include "test/cctest/cctest.h" |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 | 175 |
175 Handle<Code> code = Pipeline::GenerateCodeForTesting(&info, graph); | 176 Handle<Code> code = Pipeline::GenerateCodeForTesting(&info, graph); |
176 CHECK(!code.is_null()); | 177 CHECK(!code.is_null()); |
177 function->ReplaceCode(*code); | 178 function->ReplaceCode(*code); |
178 return function; | 179 return function; |
179 } | 180 } |
180 | 181 |
181 } // namespace compiler | 182 } // namespace compiler |
182 } // namespace internal | 183 } // namespace internal |
183 } // namespace v8 | 184 } // namespace v8 |
OLD | NEW |