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 2098 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2109 HOsrBuilder* osr() const { return osr_; } | 2109 HOsrBuilder* osr() const { return osr_; } |
2110 | 2110 |
2111 void Bailout(BailoutReason reason); | 2111 void Bailout(BailoutReason reason); |
2112 | 2112 |
2113 HBasicBlock* CreateJoin(HBasicBlock* first, | 2113 HBasicBlock* CreateJoin(HBasicBlock* first, |
2114 HBasicBlock* second, | 2114 HBasicBlock* second, |
2115 BailoutId join_id); | 2115 BailoutId join_id); |
2116 | 2116 |
2117 FunctionState* function_state() const { return function_state_; } | 2117 FunctionState* function_state() const { return function_state_; } |
2118 | 2118 |
2119 void VisitDeclarations(ZoneList<Declaration*>* declarations); | 2119 void VisitDeclarations(Declaration::List* declarations); |
2120 | 2120 |
2121 AstTypeBounds* bounds() { return &bounds_; } | 2121 AstTypeBounds* bounds() { return &bounds_; } |
2122 | 2122 |
2123 void* operator new(size_t size, Zone* zone) { return zone->New(size); } | 2123 void* operator new(size_t size, Zone* zone) { return zone->New(size); } |
2124 void operator delete(void* pointer, Zone* zone) { } | 2124 void operator delete(void* pointer, Zone* zone) { } |
2125 void operator delete(void* pointer) { } | 2125 void operator delete(void* pointer) { } |
2126 | 2126 |
2127 DEFINE_AST_VISITOR_SUBCLASS_MEMBERS(); | 2127 DEFINE_AST_VISITOR_SUBCLASS_MEMBERS(); |
2128 | 2128 |
2129 protected: | 2129 protected: |
(...skipping 878 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3008 } | 3008 } |
3009 | 3009 |
3010 private: | 3010 private: |
3011 HOptimizedGraphBuilder* builder_; | 3011 HOptimizedGraphBuilder* builder_; |
3012 }; | 3012 }; |
3013 | 3013 |
3014 } // namespace internal | 3014 } // namespace internal |
3015 } // namespace v8 | 3015 } // namespace v8 |
3016 | 3016 |
3017 #endif // V8_CRANKSHAFT_HYDROGEN_H_ | 3017 #endif // V8_CRANKSHAFT_HYDROGEN_H_ |
OLD | NEW |