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

Side by Side Diff: src/compiler/graph-replay.cc

Issue 735583003: Remove ambiguous getter for operator value counts. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years, 1 month 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/graph-builder.cc ('k') | src/compiler/instruction-selector.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/graph-replay.h" 5 #include "src/compiler/graph-replay.h"
6 6
7 #include "src/compiler/common-operator.h" 7 #include "src/compiler/common-operator.h"
8 #include "src/compiler/graph.h" 8 #include "src/compiler/graph.h"
9 #include "src/compiler/graph-inl.h" 9 #include "src/compiler/graph-inl.h"
10 #include "src/compiler/node.h" 10 #include "src/compiler/node.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 case IrOpcode::kNumberConstant: 52 case IrOpcode::kNumberConstant:
53 PrintF("0"); 53 PrintF("0");
54 break; 54 break;
55 case IrOpcode::kLoad: 55 case IrOpcode::kLoad:
56 PrintF("unique_name"); 56 PrintF("unique_name");
57 break; 57 break;
58 case IrOpcode::kHeapConstant: 58 case IrOpcode::kHeapConstant:
59 PrintF("unique_constant"); 59 PrintF("unique_constant");
60 break; 60 break;
61 case IrOpcode::kPhi: 61 case IrOpcode::kPhi:
62 PrintF("%d", op->InputCount()); 62 PrintF("%d", op->ValueInputCount());
63 break; 63 break;
64 case IrOpcode::kEffectPhi: 64 case IrOpcode::kEffectPhi:
65 PrintF("%d", op->EffectInputCount()); 65 PrintF("%d", op->EffectInputCount());
66 break; 66 break;
67 case IrOpcode::kLoop: 67 case IrOpcode::kLoop:
68 case IrOpcode::kMerge: 68 case IrOpcode::kMerge:
69 PrintF("%d", op->ControlInputCount()); 69 PrintF("%d", op->ControlInputCount());
70 break; 70 break;
71 default: 71 default:
72 break; 72 break;
73 } 73 }
74 PrintF(");\n"); 74 PrintF(");\n");
75 } 75 }
76 76
77 #endif // DEBUG 77 #endif // DEBUG
78 } 78 }
79 } 79 }
80 } // namespace v8::internal::compiler 80 } // namespace v8::internal::compiler
OLDNEW
« no previous file with comments | « src/compiler/graph-builder.cc ('k') | src/compiler/instruction-selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698