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

Side by Side Diff: src/crankshaft/hydrogen.h

Issue 2268303002: Include only stuff you need, part 4: ast, scopes + fallout. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 months 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/compiler/graph-visualizer.cc ('k') | src/crankshaft/hydrogen.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_CRANKSHAFT_HYDROGEN_H_ 5 #ifndef V8_CRANKSHAFT_HYDROGEN_H_
6 #define V8_CRANKSHAFT_HYDROGEN_H_ 6 #define V8_CRANKSHAFT_HYDROGEN_H_
7 7
8 #include "src/accessors.h" 8 #include "src/accessors.h"
9 #include "src/allocation.h" 9 #include "src/allocation.h"
10 #include "src/ast/ast-type-bounds.h" 10 #include "src/ast/ast-type-bounds.h"
11 #include "src/ast/ast.h"
12 #include "src/ast/scopes.h"
13 #include "src/bailout-reason.h" 11 #include "src/bailout-reason.h"
14 #include "src/compiler.h" 12 #include "src/compiler.h"
15 #include "src/crankshaft/compilation-phase.h" 13 #include "src/crankshaft/compilation-phase.h"
16 #include "src/crankshaft/hydrogen-instructions.h" 14 #include "src/crankshaft/hydrogen-instructions.h"
17 #include "src/globals.h" 15 #include "src/globals.h"
18 #include "src/parsing/parse-info.h" 16 #include "src/parsing/parse-info.h"
19 #include "src/zone.h" 17 #include "src/zone.h"
20 18
21 namespace v8 { 19 namespace v8 {
22 namespace internal { 20 namespace internal {
23 21
24 // Forward declarations. 22 // Forward declarations.
25 class BitVector; 23 class BitVector;
26 class FunctionState; 24 class FunctionState;
27 class HEnvironment; 25 class HEnvironment;
28 class HGraph; 26 class HGraph;
29 class HLoopInformation; 27 class HLoopInformation;
30 class HOsrBuilder; 28 class HOsrBuilder;
31 class HTracer; 29 class HTracer;
32 class LAllocator; 30 class LAllocator;
33 class LChunk; 31 class LChunk;
34 class LiveRange; 32 class LiveRange;
33 class Scope;
35 34
36 class HCompilationJob final : public CompilationJob { 35 class HCompilationJob final : public CompilationJob {
37 public: 36 public:
38 explicit HCompilationJob(Handle<JSFunction> function) 37 explicit HCompilationJob(Handle<JSFunction> function)
39 : CompilationJob(&info_, "Crankshaft"), 38 : CompilationJob(&info_, "Crankshaft"),
40 zone_(function->GetIsolate()->allocator()), 39 zone_(function->GetIsolate()->allocator()),
41 parse_info_(&zone_, function), 40 parse_info_(&zone_, function),
42 info_(&parse_info_, function), 41 info_(&parse_info_, function),
43 graph_(nullptr), 42 graph_(nullptr),
44 chunk_(nullptr) {} 43 chunk_(nullptr) {}
(...skipping 2996 matching lines...) Expand 10 before | Expand all | Expand 10 after
3041 } 3040 }
3042 3041
3043 private: 3042 private:
3044 HOptimizedGraphBuilder* builder_; 3043 HOptimizedGraphBuilder* builder_;
3045 }; 3044 };
3046 3045
3047 } // namespace internal 3046 } // namespace internal
3048 } // namespace v8 3047 } // namespace v8
3049 3048
3050 #endif // V8_CRANKSHAFT_HYDROGEN_H_ 3049 #endif // V8_CRANKSHAFT_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/compiler/graph-visualizer.cc ('k') | src/crankshaft/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698