| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 Reduction ReduceNumberBinop(Node* node, const Operator* numberOp); | 65 Reduction ReduceNumberBinop(Node* node, const Operator* numberOp); |
| 66 Reduction ReduceInt32Binop(Node* node, const Operator* intOp); | 66 Reduction ReduceInt32Binop(Node* node, const Operator* intOp); |
| 67 Reduction ReduceUI32Shift(Node* node, Signedness left_signedness, | 67 Reduction ReduceUI32Shift(Node* node, Signedness left_signedness, |
| 68 const Operator* shift_op); | 68 const Operator* shift_op); |
| 69 | 69 |
| 70 Node* Word32Shl(Node* const lhs, int32_t const rhs); | 70 Node* Word32Shl(Node* const lhs, int32_t const rhs); |
| 71 | 71 |
| 72 Factory* factory() const; | 72 Factory* factory() const; |
| 73 Graph* graph() const; | 73 Graph* graph() const; |
| 74 JSGraph* jsgraph() const { return jsgraph_; } | 74 JSGraph* jsgraph() const { return jsgraph_; } |
| 75 Isolate* isolate() const; |
| 75 JSOperatorBuilder* javascript() const; | 76 JSOperatorBuilder* javascript() const; |
| 76 CommonOperatorBuilder* common() const; | 77 CommonOperatorBuilder* common() const; |
| 77 SimplifiedOperatorBuilder* simplified() { return &simplified_; } | 78 SimplifiedOperatorBuilder* simplified() { return &simplified_; } |
| 78 MachineOperatorBuilder* machine() const; | 79 MachineOperatorBuilder* machine() const; |
| 79 | 80 |
| 80 // Limits up to which context allocations are inlined. | 81 // Limits up to which context allocations are inlined. |
| 81 static const int kBlockContextAllocationLimit = 16; | 82 static const int kBlockContextAllocationLimit = 16; |
| 82 | 83 |
| 83 JSGraph* jsgraph_; | 84 JSGraph* jsgraph_; |
| 84 SimplifiedOperatorBuilder simplified_; | 85 SimplifiedOperatorBuilder simplified_; |
| 85 Type* zero_range_; | 86 Type* zero_range_; |
| 86 Type* one_range_; | 87 Type* one_range_; |
| 87 Type* zero_thirtyone_range_; | 88 Type* zero_thirtyone_range_; |
| 88 Type* shifted_int32_ranges_[4]; | 89 Type* shifted_int32_ranges_[4]; |
| 89 }; | 90 }; |
| 90 | 91 |
| 91 } // namespace compiler | 92 } // namespace compiler |
| 92 } // namespace internal | 93 } // namespace internal |
| 93 } // namespace v8 | 94 } // namespace v8 |
| 94 | 95 |
| 95 #endif // V8_COMPILER_JS_TYPED_LOWERING_H_ | 96 #endif // V8_COMPILER_JS_TYPED_LOWERING_H_ |
| OLD | NEW |