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/memory-optimizer.h" | 5 #include "src/compiler/memory-optimizer.h" |
6 | 6 |
7 #include "src/compiler/js-graph.h" | 7 #include "src/compiler/js-graph.h" |
8 #include "src/compiler/linkage.h" | 8 #include "src/compiler/linkage.h" |
9 #include "src/compiler/node-matchers.h" | 9 #include "src/compiler/node-matchers.h" |
10 #include "src/compiler/node-properties.h" | 10 #include "src/compiler/node-properties.h" |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 case IrOpcode::kLoadElement: | 80 case IrOpcode::kLoadElement: |
81 return VisitLoadElement(node, state); | 81 return VisitLoadElement(node, state); |
82 case IrOpcode::kLoadField: | 82 case IrOpcode::kLoadField: |
83 return VisitLoadField(node, state); | 83 return VisitLoadField(node, state); |
84 case IrOpcode::kStoreElement: | 84 case IrOpcode::kStoreElement: |
85 return VisitStoreElement(node, state); | 85 return VisitStoreElement(node, state); |
86 case IrOpcode::kStoreField: | 86 case IrOpcode::kStoreField: |
87 return VisitStoreField(node, state); | 87 return VisitStoreField(node, state); |
88 case IrOpcode::kCheckedLoad: | 88 case IrOpcode::kCheckedLoad: |
89 case IrOpcode::kCheckedStore: | 89 case IrOpcode::kCheckedStore: |
| 90 case IrOpcode::kDeoptimizeIf: |
| 91 case IrOpcode::kDeoptimizeUnless: |
90 case IrOpcode::kIfException: | 92 case IrOpcode::kIfException: |
91 case IrOpcode::kLoad: | 93 case IrOpcode::kLoad: |
92 case IrOpcode::kStore: | 94 case IrOpcode::kStore: |
93 return VisitOtherEffect(node, state); | 95 return VisitOtherEffect(node, state); |
94 default: | 96 default: |
95 break; | 97 break; |
96 } | 98 } |
97 DCHECK_EQ(0, node->op()->EffectOutputCount()); | 99 DCHECK_EQ(0, node->op()->EffectOutputCount()); |
98 } | 100 } |
99 | 101 |
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
485 return jsgraph()->common(); | 487 return jsgraph()->common(); |
486 } | 488 } |
487 | 489 |
488 MachineOperatorBuilder* MemoryOptimizer::machine() const { | 490 MachineOperatorBuilder* MemoryOptimizer::machine() const { |
489 return jsgraph()->machine(); | 491 return jsgraph()->machine(); |
490 } | 492 } |
491 | 493 |
492 } // namespace compiler | 494 } // namespace compiler |
493 } // namespace internal | 495 } // namespace internal |
494 } // namespace v8 | 496 } // namespace v8 |
OLD | NEW |