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/js-graph.h" | 9 #include "src/compiler/js-graph.h" |
10 #include "src/compiler/machine-operator.h" | 10 #include "src/compiler/machine-operator.h" |
(...skipping 20 matching lines...) Expand all Loading... |
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 ReplaceWith(Node* node) { return Reducer::Replace(node); } | 34 Reduction ReplaceWith(Node* node) { return Reducer::Replace(node); } |
35 Reduction ReduceJSAdd(Node* node); | 35 Reduction ReduceJSAdd(Node* node); |
36 Reduction ReduceJSBitwiseOr(Node* node); | 36 Reduction ReduceJSBitwiseOr(Node* node); |
37 Reduction ReduceJSMultiply(Node* node); | 37 Reduction ReduceJSMultiply(Node* node); |
38 Reduction ReduceJSComparison(Node* node); | 38 Reduction ReduceJSComparison(Node* node); |
39 Reduction ReduceJSLoadProperty(Node* node); | 39 Reduction ReduceJSLoadProperty(Node* node); |
40 Reduction ReduceJSStoreProperty(Node* node); | 40 Reduction ReduceJSStoreProperty(Node* node); |
| 41 Reduction ReduceJSLoadContext(Node* node); |
| 42 Reduction ReduceJSStoreContext(Node* node); |
41 Reduction ReduceJSEqual(Node* node, bool invert); | 43 Reduction ReduceJSEqual(Node* node, bool invert); |
42 Reduction ReduceJSStrictEqual(Node* node, bool invert); | 44 Reduction ReduceJSStrictEqual(Node* node, bool invert); |
43 Reduction ReduceJSToNumberInput(Node* input); | 45 Reduction ReduceJSToNumberInput(Node* input); |
44 Reduction ReduceJSToNumber(Node* node); | 46 Reduction ReduceJSToNumber(Node* node); |
45 Reduction ReduceJSToStringInput(Node* input); | 47 Reduction ReduceJSToStringInput(Node* input); |
46 Reduction ReduceJSToBooleanInput(Node* input); | 48 Reduction ReduceJSToBooleanInput(Node* input); |
47 Reduction ReduceJSToBoolean(Node* node); | 49 Reduction ReduceJSToBoolean(Node* node); |
48 Reduction ReduceNumberBinop(Node* node, const Operator* numberOp); | 50 Reduction ReduceNumberBinop(Node* node, const Operator* numberOp); |
49 Reduction ReduceI32Binop(Node* node, bool left_signed, bool right_signed, | 51 Reduction ReduceI32Binop(Node* node, bool left_signed, bool right_signed, |
50 const Operator* intOp); | 52 const Operator* intOp); |
(...skipping 13 matching lines...) Expand all Loading... |
64 Type* one_range_; | 66 Type* one_range_; |
65 Type* zero_thirtyone_range_; | 67 Type* zero_thirtyone_range_; |
66 Type* shifted_int32_ranges_[4]; | 68 Type* shifted_int32_ranges_[4]; |
67 }; | 69 }; |
68 | 70 |
69 } // namespace compiler | 71 } // namespace compiler |
70 } // namespace internal | 72 } // namespace internal |
71 } // namespace v8 | 73 } // namespace v8 |
72 | 74 |
73 #endif // V8_COMPILER_JS_TYPED_LOWERING_H_ | 75 #endif // V8_COMPILER_JS_TYPED_LOWERING_H_ |
OLD | NEW |