OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_COMPILER_JS_TYPED_LOWERING_H_ | 5 #ifndef V8_COMPILER_JS_TYPED_LOWERING_H_ |
6 #define V8_COMPILER_JS_TYPED_LOWERING_H_ | 6 #define V8_COMPILER_JS_TYPED_LOWERING_H_ |
7 | 7 |
8 #include "src/base/flags.h" | 8 #include "src/base/flags.h" |
9 #include "src/compiler/graph-reducer.h" | 9 #include "src/compiler/graph-reducer.h" |
10 #include "src/compiler/opcodes.h" | 10 #include "src/compiler/opcodes.h" |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 Flags flags() const { return flags_; } | 111 Flags flags() const { return flags_; } |
112 | 112 |
113 // Limits up to which context allocations are inlined. | 113 // Limits up to which context allocations are inlined. |
114 static const int kFunctionContextAllocationLimit = 16; | 114 static const int kFunctionContextAllocationLimit = 16; |
115 static const int kBlockContextAllocationLimit = 16; | 115 static const int kBlockContextAllocationLimit = 16; |
116 | 116 |
117 CompilationDependencies* dependencies_; | 117 CompilationDependencies* dependencies_; |
118 Flags flags_; | 118 Flags flags_; |
119 JSGraph* jsgraph_; | 119 JSGraph* jsgraph_; |
120 Type* shifted_int32_ranges_[4]; | 120 Type* shifted_int32_ranges_[4]; |
| 121 Type* const the_hole_type_; |
121 TypeCache const& type_cache_; | 122 TypeCache const& type_cache_; |
122 }; | 123 }; |
123 | 124 |
124 DEFINE_OPERATORS_FOR_FLAGS(JSTypedLowering::Flags) | 125 DEFINE_OPERATORS_FOR_FLAGS(JSTypedLowering::Flags) |
125 | 126 |
126 } // namespace compiler | 127 } // namespace compiler |
127 } // namespace internal | 128 } // namespace internal |
128 } // namespace v8 | 129 } // namespace v8 |
129 | 130 |
130 #endif // V8_COMPILER_JS_TYPED_LOWERING_H_ | 131 #endif // V8_COMPILER_JS_TYPED_LOWERING_H_ |
OLD | NEW |