| OLD | NEW |
| 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.h" | 10 #include "src/ast/ast.h" |
| (...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 private: | 287 private: |
| 288 void AddBlock(HBasicBlock* block); | 288 void AddBlock(HBasicBlock* block); |
| 289 | 289 |
| 290 ZoneList<HBasicBlock*> back_edges_; | 290 ZoneList<HBasicBlock*> back_edges_; |
| 291 HBasicBlock* loop_header_; | 291 HBasicBlock* loop_header_; |
| 292 ZoneList<HBasicBlock*> blocks_; | 292 ZoneList<HBasicBlock*> blocks_; |
| 293 HStackCheck* stack_check_; | 293 HStackCheck* stack_check_; |
| 294 }; | 294 }; |
| 295 | 295 |
| 296 | 296 |
| 297 class BoundsCheckTable; | |
| 298 class InductionVariableBlocksTable; | |
| 299 class HGraph final : public ZoneObject { | 297 class HGraph final : public ZoneObject { |
| 300 public: | 298 public: |
| 301 explicit HGraph(CompilationInfo* info, CallInterfaceDescriptor descriptor); | 299 explicit HGraph(CompilationInfo* info, CallInterfaceDescriptor descriptor); |
| 302 | 300 |
| 303 Isolate* isolate() const { return isolate_; } | 301 Isolate* isolate() const { return isolate_; } |
| 304 Zone* zone() const { return zone_; } | 302 Zone* zone() const { return zone_; } |
| 305 CompilationInfo* info() const { return info_; } | 303 CompilationInfo* info() const { return info_; } |
| 306 CallInterfaceDescriptor descriptor() const { return descriptor_; } | 304 CallInterfaceDescriptor descriptor() const { return descriptor_; } |
| 307 | 305 |
| 308 const ZoneList<HBasicBlock*>* blocks() const { return &blocks_; } | 306 const ZoneList<HBasicBlock*>* blocks() const { return &blocks_; } |
| (...skipping 2752 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3061 } | 3059 } |
| 3062 | 3060 |
| 3063 private: | 3061 private: |
| 3064 HOptimizedGraphBuilder* builder_; | 3062 HOptimizedGraphBuilder* builder_; |
| 3065 }; | 3063 }; |
| 3066 | 3064 |
| 3067 } // namespace internal | 3065 } // namespace internal |
| 3068 } // namespace v8 | 3066 } // namespace v8 |
| 3069 | 3067 |
| 3070 #endif // V8_CRANKSHAFT_HYDROGEN_H_ | 3068 #endif // V8_CRANKSHAFT_HYDROGEN_H_ |
| OLD | NEW |