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-type-bounds.h" | 10 #include "src/ast/ast-type-bounds.h" |
(...skipping 2779 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2790 ZoneList<Handle<Object> > globals_; | 2790 ZoneList<Handle<Object> > globals_; |
2791 | 2791 |
2792 bool inline_bailout_; | 2792 bool inline_bailout_; |
2793 | 2793 |
2794 HOsrBuilder* osr_; | 2794 HOsrBuilder* osr_; |
2795 | 2795 |
2796 AstTypeBounds bounds_; | 2796 AstTypeBounds bounds_; |
2797 | 2797 |
2798 friend class FunctionState; // Pushes and pops the state stack. | 2798 friend class FunctionState; // Pushes and pops the state stack. |
2799 friend class AstContext; // Pushes and pops the AST context stack. | 2799 friend class AstContext; // Pushes and pops the AST context stack. |
2800 friend class KeyedLoadFastElementStub; | |
2801 friend class HOsrBuilder; | 2800 friend class HOsrBuilder; |
2802 | 2801 |
2803 DISALLOW_COPY_AND_ASSIGN(HOptimizedGraphBuilder); | 2802 DISALLOW_COPY_AND_ASSIGN(HOptimizedGraphBuilder); |
2804 }; | 2803 }; |
2805 | 2804 |
2806 | 2805 |
2807 Zone* AstContext::zone() const { return owner_->zone(); } | 2806 Zone* AstContext::zone() const { return owner_->zone(); } |
2808 | 2807 |
2809 | 2808 |
2810 class HStatistics final : public Malloced { | 2809 class HStatistics final : public Malloced { |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2981 } | 2980 } |
2982 | 2981 |
2983 private: | 2982 private: |
2984 HOptimizedGraphBuilder* builder_; | 2983 HOptimizedGraphBuilder* builder_; |
2985 }; | 2984 }; |
2986 | 2985 |
2987 } // namespace internal | 2986 } // namespace internal |
2988 } // namespace v8 | 2987 } // namespace v8 |
2989 | 2988 |
2990 #endif // V8_CRANKSHAFT_HYDROGEN_H_ | 2989 #endif // V8_CRANKSHAFT_HYDROGEN_H_ |
OLD | NEW |