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

Side by Side Diff: src/compiler/common-operator-reducer.cc

Issue 838783002: [turbofan] Cleanup Graph and related classes. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Parameter pack causes compile errors. Created 5 years, 11 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 | « BUILD.gn ('k') | src/compiler/control-reducer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "src/compiler/common-operator-reducer.h" 5 #include "src/compiler/common-operator-reducer.h"
6 6
7 #include "src/compiler/common-operator.h" 7 #include "src/compiler/common-operator.h"
8 #include "src/compiler/node.h"
8 9
9 namespace v8 { 10 namespace v8 {
10 namespace internal { 11 namespace internal {
11 namespace compiler { 12 namespace compiler {
12 13
13 Reduction CommonOperatorReducer::Reduce(Node* node) { 14 Reduction CommonOperatorReducer::Reduce(Node* node) {
14 switch (node->opcode()) { 15 switch (node->opcode()) {
15 case IrOpcode::kEffectPhi: 16 case IrOpcode::kEffectPhi:
16 case IrOpcode::kPhi: { 17 case IrOpcode::kPhi: {
17 int const input_count = node->InputCount(); 18 int const input_count = node->InputCount();
(...skipping 14 matching lines...) Expand all
32 } 33 }
33 default: 34 default:
34 break; 35 break;
35 } 36 }
36 return NoChange(); 37 return NoChange();
37 } 38 }
38 39
39 } // namespace compiler 40 } // namespace compiler
40 } // namespace internal 41 } // namespace internal
41 } // namespace v8 42 } // namespace v8
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | src/compiler/control-reducer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698