| 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/v8.h" | 8 #include "src/v8.h" |
| 9 #include "test/cctest/cctest.h" | 9 #include "test/cctest/cctest.h" |
| 10 | 10 |
| 11 #include "src/ast-numbering.h" | 11 #include "src/ast-numbering.h" |
| 12 #include "src/compiler.h" | 12 #include "src/compiler.h" |
| 13 #include "src/compiler/linkage.h" | 13 #include "src/compiler/linkage.h" |
| 14 #include "src/compiler/pipeline.h" | 14 #include "src/compiler/pipeline.h" |
| 15 #include "src/execution.h" | 15 #include "src/execution.h" |
| 16 #include "src/full-codegen.h" | 16 #include "src/full-codegen/full-codegen.h" |
| 17 #include "src/handles.h" | 17 #include "src/handles.h" |
| 18 #include "src/objects-inl.h" | 18 #include "src/objects-inl.h" |
| 19 #include "src/parser.h" | 19 #include "src/parser.h" |
| 20 #include "src/rewriter.h" | 20 #include "src/rewriter.h" |
| 21 #include "src/scopes.h" | 21 #include "src/scopes.h" |
| 22 | 22 |
| 23 #define USE_CRANKSHAFT 0 | 23 #define USE_CRANKSHAFT 0 |
| 24 | 24 |
| 25 namespace v8 { | 25 namespace v8 { |
| 26 namespace internal { | 26 namespace internal { |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 CHECK(!code.is_null()); | 227 CHECK(!code.is_null()); |
| 228 function->ReplaceCode(*code); | 228 function->ReplaceCode(*code); |
| 229 return function; | 229 return function; |
| 230 } | 230 } |
| 231 }; | 231 }; |
| 232 } | 232 } |
| 233 } | 233 } |
| 234 } // namespace v8::internal::compiler | 234 } // namespace v8::internal::compiler |
| 235 | 235 |
| 236 #endif // V8_CCTEST_COMPILER_FUNCTION_TESTER_H_ | 236 #endif // V8_CCTEST_COMPILER_FUNCTION_TESTER_H_ |
| OLD | NEW |