Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Side by Side Diff: src/compiler/memory-optimizer.cc

Issue 2002253003: [turbofan] Properly connect DeoptimizeIf/Unless to effect chain. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix JSCallReducer Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/compiler/js-native-context-specialization.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/compiler/js-native-context-specialization.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698