OLD | NEW |
1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 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 #include "src/compiler/redundancy-elimination.h" | 5 #include "src/compiler/redundancy-elimination.h" |
6 | 6 |
7 #include "src/compiler/node-properties.h" | 7 #include "src/compiler/node-properties.h" |
8 | 8 |
9 namespace v8 { | 9 namespace v8 { |
10 namespace internal { | 10 namespace internal { |
(...skipping 11 matching lines...) Expand all Loading... |
22 case IrOpcode::kCheckIf: | 22 case IrOpcode::kCheckIf: |
23 case IrOpcode::kCheckNumber: | 23 case IrOpcode::kCheckNumber: |
24 case IrOpcode::kCheckTaggedHole: | 24 case IrOpcode::kCheckTaggedHole: |
25 case IrOpcode::kCheckTaggedPointer: | 25 case IrOpcode::kCheckTaggedPointer: |
26 case IrOpcode::kCheckTaggedSigned: | 26 case IrOpcode::kCheckTaggedSigned: |
27 case IrOpcode::kCheckedFloat64ToInt32: | 27 case IrOpcode::kCheckedFloat64ToInt32: |
28 case IrOpcode::kCheckedInt32Add: | 28 case IrOpcode::kCheckedInt32Add: |
29 case IrOpcode::kCheckedInt32Sub: | 29 case IrOpcode::kCheckedInt32Sub: |
30 case IrOpcode::kCheckedInt32Div: | 30 case IrOpcode::kCheckedInt32Div: |
31 case IrOpcode::kCheckedInt32Mod: | 31 case IrOpcode::kCheckedInt32Mod: |
| 32 case IrOpcode::kCheckedInt32Mul: |
32 case IrOpcode::kCheckedTaggedToFloat64: | 33 case IrOpcode::kCheckedTaggedToFloat64: |
33 case IrOpcode::kCheckedTaggedToInt32: | 34 case IrOpcode::kCheckedTaggedToInt32: |
34 case IrOpcode::kCheckedUint32ToInt32: | 35 case IrOpcode::kCheckedUint32ToInt32: |
35 return ReduceCheckNode(node); | 36 return ReduceCheckNode(node); |
36 case IrOpcode::kEffectPhi: | 37 case IrOpcode::kEffectPhi: |
37 return ReduceEffectPhi(node); | 38 return ReduceEffectPhi(node); |
38 case IrOpcode::kDead: | 39 case IrOpcode::kDead: |
39 break; | 40 break; |
40 case IrOpcode::kStart: | 41 case IrOpcode::kStart: |
41 return ReduceStart(node); | 42 return ReduceStart(node); |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 node_checks_.Set(node, checks); | 228 node_checks_.Set(node, checks); |
228 return Changed(node); | 229 return Changed(node); |
229 } | 230 } |
230 } | 231 } |
231 return NoChange(); | 232 return NoChange(); |
232 } | 233 } |
233 | 234 |
234 } // namespace compiler | 235 } // namespace compiler |
235 } // namespace internal | 236 } // namespace internal |
236 } // namespace v8 | 237 } // namespace v8 |
OLD | NEW |