| 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/simplified-operator.h" | 9 #include "src/compiler/simplified-operator.h" |
| 10 | 10 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 JSTypedLowering(JSGraph* jsgraph, Zone* zone); | 25 JSTypedLowering(JSGraph* jsgraph, Zone* zone); |
| 26 ~JSTypedLowering() FINAL {} | 26 ~JSTypedLowering() FINAL {} |
| 27 | 27 |
| 28 Reduction Reduce(Node* node) FINAL; | 28 Reduction Reduce(Node* node) FINAL; |
| 29 | 29 |
| 30 private: | 30 private: |
| 31 friend class JSBinopReduction; | 31 friend class JSBinopReduction; |
| 32 | 32 |
| 33 Reduction ReplaceEagerly(Node* old, Node* node); | 33 Reduction ReplaceEagerly(Node* old, Node* node); |
| 34 Reduction ReduceJSAdd(Node* node); | 34 Reduction ReduceJSAdd(Node* node); |
| 35 Reduction ReduceJSBitwiseAnd(Node* node); |
| 35 Reduction ReduceJSBitwiseOr(Node* node); | 36 Reduction ReduceJSBitwiseOr(Node* node); |
| 36 Reduction ReduceJSMultiply(Node* node); | 37 Reduction ReduceJSMultiply(Node* node); |
| 37 Reduction ReduceJSComparison(Node* node); | 38 Reduction ReduceJSComparison(Node* node); |
| 38 Reduction ReduceJSLoadProperty(Node* node); | 39 Reduction ReduceJSLoadProperty(Node* node); |
| 39 Reduction ReduceJSStoreProperty(Node* node); | 40 Reduction ReduceJSStoreProperty(Node* node); |
| 40 Reduction ReduceJSLoadContext(Node* node); | 41 Reduction ReduceJSLoadContext(Node* node); |
| 41 Reduction ReduceJSStoreContext(Node* node); | 42 Reduction ReduceJSStoreContext(Node* node); |
| 42 Reduction ReduceJSEqual(Node* node, bool invert); | 43 Reduction ReduceJSEqual(Node* node, bool invert); |
| 43 Reduction ReduceJSStrictEqual(Node* node, bool invert); | 44 Reduction ReduceJSStrictEqual(Node* node, bool invert); |
| 44 Reduction ReduceJSUnaryNot(Node* node); | 45 Reduction ReduceJSUnaryNot(Node* node); |
| (...skipping 20 matching lines...) Expand all Loading... |
| 65 JSOperatorBuilder* javascript() const; | 66 JSOperatorBuilder* javascript() const; |
| 66 CommonOperatorBuilder* common() const; | 67 CommonOperatorBuilder* common() const; |
| 67 SimplifiedOperatorBuilder* simplified() { return &simplified_; } | 68 SimplifiedOperatorBuilder* simplified() { return &simplified_; } |
| 68 MachineOperatorBuilder* machine() const; | 69 MachineOperatorBuilder* machine() const; |
| 69 | 70 |
| 70 JSGraph* jsgraph_; | 71 JSGraph* jsgraph_; |
| 71 SimplifiedOperatorBuilder simplified_; | 72 SimplifiedOperatorBuilder simplified_; |
| 72 ZoneVector<Node*> conversions_; // Cache inserted JSToXXX() conversions. | 73 ZoneVector<Node*> conversions_; // Cache inserted JSToXXX() conversions. |
| 73 Type* zero_range_; | 74 Type* zero_range_; |
| 74 Type* one_range_; | 75 Type* one_range_; |
| 76 Type* zero_one_range_; |
| 75 Type* zero_thirtyone_range_; | 77 Type* zero_thirtyone_range_; |
| 76 Type* shifted_int32_ranges_[4]; | 78 Type* shifted_int32_ranges_[4]; |
| 77 }; | 79 }; |
| 78 | 80 |
| 79 } // namespace compiler | 81 } // namespace compiler |
| 80 } // namespace internal | 82 } // namespace internal |
| 81 } // namespace v8 | 83 } // namespace v8 |
| 82 | 84 |
| 83 #endif // V8_COMPILER_JS_TYPED_LOWERING_H_ | 85 #endif // V8_COMPILER_JS_TYPED_LOWERING_H_ |
| OLD | NEW |