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

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

Issue 2246203005: include only stuff you need, part 1: ast.h, ast-value-factory.h. (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
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_OSR_H_ 5 #ifndef V8_CRANKSHAFT_HYDROGEN_OSR_H_
6 #define V8_CRANKSHAFT_HYDROGEN_OSR_H_ 6 #define V8_CRANKSHAFT_HYDROGEN_OSR_H_
7 7
8 #include "src/ast/ast.h"
9 #include "src/crankshaft/hydrogen.h" 8 #include "src/crankshaft/hydrogen.h"
10 #include "src/zone.h" 9 #include "src/zone.h"
11 10
12 namespace v8 { 11 namespace v8 {
13 namespace internal { 12 namespace internal {
14 13
14 class IterationStatement;
15
15 // Responsible for building graph parts related to OSR and otherwise 16 // Responsible for building graph parts related to OSR and otherwise
16 // setting up the graph to do an OSR compile. 17 // setting up the graph to do an OSR compile.
17 class HOsrBuilder : public ZoneObject { 18 class HOsrBuilder : public ZoneObject {
18 public: 19 public:
19 explicit HOsrBuilder(HOptimizedGraphBuilder* builder) 20 explicit HOsrBuilder(HOptimizedGraphBuilder* builder)
20 : unoptimized_frame_slots_(0), 21 : unoptimized_frame_slots_(0),
21 builder_(builder), 22 builder_(builder),
22 osr_entry_(NULL), 23 osr_entry_(NULL),
23 osr_loop_entry_(NULL), 24 osr_loop_entry_(NULL),
24 osr_values_(NULL) { } 25 osr_values_(NULL) { }
(...skipping 21 matching lines...) Expand all
46 HOptimizedGraphBuilder* builder_; 47 HOptimizedGraphBuilder* builder_;
47 HBasicBlock* osr_entry_; 48 HBasicBlock* osr_entry_;
48 HBasicBlock* osr_loop_entry_; 49 HBasicBlock* osr_loop_entry_;
49 ZoneList<HUnknownOSRValue*>* osr_values_; 50 ZoneList<HUnknownOSRValue*>* osr_values_;
50 }; 51 };
51 52
52 } // namespace internal 53 } // namespace internal
53 } // namespace v8 54 } // namespace v8
54 55
55 #endif // V8_CRANKSHAFT_HYDROGEN_OSR_H_ 56 #endif // V8_CRANKSHAFT_HYDROGEN_OSR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698