Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(153)

Side by Side Diff: test/cctest/compiler/function-tester.h

Issue 1481613002: Create ast/ and parsing/ subdirectories and move appropriate files (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/x87/codegen-x87.h ('k') | test/cctest/compiler/test-changes-lowering.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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-numbering.h" 8 #include "src/ast/ast-numbering.h"
9 #include "src/ast/scopes.h"
9 #include "src/compiler.h" 10 #include "src/compiler.h"
10 #include "src/compiler/linkage.h" 11 #include "src/compiler/linkage.h"
11 #include "src/compiler/pipeline.h" 12 #include "src/compiler/pipeline.h"
12 #include "src/execution.h" 13 #include "src/execution.h"
13 #include "src/full-codegen/full-codegen.h" 14 #include "src/full-codegen/full-codegen.h"
14 #include "src/handles.h" 15 #include "src/handles.h"
15 #include "src/objects-inl.h" 16 #include "src/objects-inl.h"
16 #include "src/parser.h" 17 #include "src/parsing/parser.h"
17 #include "src/rewriter.h" 18 #include "src/parsing/rewriter.h"
18 #include "src/scopes.h"
19 #include "test/cctest/cctest.h" 19 #include "test/cctest/cctest.h"
20 20
21 namespace v8 { 21 namespace v8 {
22 namespace internal { 22 namespace internal {
23 namespace compiler { 23 namespace compiler {
24 24
25 class FunctionTester : public InitializedHandleScope { 25 class FunctionTester : public InitializedHandleScope {
26 public: 26 public:
27 explicit FunctionTester(const char* source, uint32_t flags = 0) 27 explicit FunctionTester(const char* source, uint32_t flags = 0)
28 : isolate(main_isolate()), 28 : isolate(main_isolate()),
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 CHECK(!code.is_null()); 209 CHECK(!code.is_null());
210 function->ReplaceCode(*code); 210 function->ReplaceCode(*code);
211 return function; 211 return function;
212 } 212 }
213 }; 213 };
214 } // namespace compiler 214 } // namespace compiler
215 } // namespace internal 215 } // namespace internal
216 } // namespace v8 216 } // namespace v8
217 217
218 #endif // V8_CCTEST_COMPILER_FUNCTION_TESTER_H_ 218 #endif // V8_CCTEST_COMPILER_FUNCTION_TESTER_H_
OLDNEW
« no previous file with comments | « src/x87/codegen-x87.h ('k') | test/cctest/compiler/test-changes-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698