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/compiler/graph-reducer.h" | 8 #include "src/compiler/graph-reducer.h" |
9 #include "src/compiler/opcodes.h" | 9 #include "src/compiler/opcodes.h" |
10 #include "src/compiler/simplified-operator.h" | 10 #include "src/compiler/simplified-operator.h" |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 JSOperatorBuilder* javascript() const; | 80 JSOperatorBuilder* javascript() const; |
81 CommonOperatorBuilder* common() const; | 81 CommonOperatorBuilder* common() const; |
82 SimplifiedOperatorBuilder* simplified() { return &simplified_; } | 82 SimplifiedOperatorBuilder* simplified() { return &simplified_; } |
83 MachineOperatorBuilder* machine() const; | 83 MachineOperatorBuilder* machine() const; |
84 | 84 |
85 // Limits up to which context allocations are inlined. | 85 // Limits up to which context allocations are inlined. |
86 static const int kBlockContextAllocationLimit = 16; | 86 static const int kBlockContextAllocationLimit = 16; |
87 | 87 |
88 JSGraph* jsgraph_; | 88 JSGraph* jsgraph_; |
89 SimplifiedOperatorBuilder simplified_; | 89 SimplifiedOperatorBuilder simplified_; |
90 Type* zero_range_; | |
91 Type* one_range_; | |
92 Type* zero_thirtyone_range_; | |
93 Type* shifted_int32_ranges_[4]; | 90 Type* shifted_int32_ranges_[4]; |
94 }; | 91 }; |
95 | 92 |
96 } // namespace compiler | 93 } // namespace compiler |
97 } // namespace internal | 94 } // namespace internal |
98 } // namespace v8 | 95 } // namespace v8 |
99 | 96 |
100 #endif // V8_COMPILER_JS_TYPED_LOWERING_H_ | 97 #endif // V8_COMPILER_JS_TYPED_LOWERING_H_ |
OLD | NEW |