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

Side by Side Diff: src/compiler/instruction.cc

Issue 1404983002: [turbofan]: Fix double register output in traces (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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 | « no previous file | 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 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.h" 5 #include "src/compiler/common-operator.h"
6 #include "src/compiler/graph.h" 6 #include "src/compiler/graph.h"
7 #include "src/compiler/instruction.h" 7 #include "src/compiler/instruction.h"
8 #include "src/compiler/schedule.h" 8 #include "src/compiler/schedule.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 os << "[stack:" << StackSlotOperand::cast(op).index(); 112 os << "[stack:" << StackSlotOperand::cast(op).index();
113 break; 113 break;
114 case AllocatedOperand::DOUBLE_STACK_SLOT: 114 case AllocatedOperand::DOUBLE_STACK_SLOT:
115 os << "[double_stack:" << DoubleStackSlotOperand::cast(op).index(); 115 os << "[double_stack:" << DoubleStackSlotOperand::cast(op).index();
116 break; 116 break;
117 case AllocatedOperand::REGISTER: 117 case AllocatedOperand::REGISTER:
118 os << "[" << RegisterOperand::cast(op).GetRegister().ToString() 118 os << "[" << RegisterOperand::cast(op).GetRegister().ToString()
119 << "|R"; 119 << "|R";
120 break; 120 break;
121 case AllocatedOperand::DOUBLE_REGISTER: 121 case AllocatedOperand::DOUBLE_REGISTER:
122 os << "[" << DoubleRegisterOperand::cast(op).GetRegister().ToString() 122 os << "["
123 << DoubleRegisterOperand::cast(op).GetDoubleRegister().ToString()
123 << "|R"; 124 << "|R";
124 break; 125 break;
125 } 126 }
126 switch (allocated.machine_type()) { 127 switch (allocated.machine_type()) {
127 case kRepWord32: 128 case kRepWord32:
128 os << "|w32"; 129 os << "|w32";
129 break; 130 break;
130 case kRepWord64: 131 case kRepWord64:
131 os << "|w64"; 132 os << "|w64";
132 break; 133 break;
(...skipping 742 matching lines...) Expand 10 before | Expand all | Expand 10 after
875 os << " B" << succ.ToInt(); 876 os << " B" << succ.ToInt();
876 } 877 }
877 os << "\n"; 878 os << "\n";
878 } 879 }
879 return os; 880 return os;
880 } 881 }
881 882
882 } // namespace compiler 883 } // namespace compiler
883 } // namespace internal 884 } // namespace internal
884 } // namespace v8 885 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698