OLD | NEW |
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 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 } | 279 } |
280 poi.op_ = op; | 280 poi.op_ = op; |
281 os << poi; | 281 os << poi; |
282 } | 282 } |
283 return os << "}"; | 283 return os << "}"; |
284 } | 284 } |
285 | 285 |
286 | 286 |
287 std::ostream& operator<<(std::ostream& os, const ArchOpcode& ao) { | 287 std::ostream& operator<<(std::ostream& os, const ArchOpcode& ao) { |
288 switch (ao) { | 288 switch (ao) { |
289 #define CASE(Name) \ | 289 #define CASE(Name, Flags) \ |
290 case k##Name: \ | 290 case k##Name: \ |
291 return os << #Name; | 291 return os << #Name; |
292 ARCH_OPCODE_LIST(CASE) | 292 ARCH_OPCODE_LIST(CASE) |
293 #undef CASE | 293 #undef CASE |
294 } | 294 } |
295 UNREACHABLE(); | 295 UNREACHABLE(); |
296 return os; | 296 return os; |
297 } | 297 } |
298 | 298 |
299 | 299 |
300 std::ostream& operator<<(std::ostream& os, const AddressingMode& am) { | 300 std::ostream& operator<<(std::ostream& os, const AddressingMode& am) { |
(...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
873 os << " B" << succ.ToInt(); | 873 os << " B" << succ.ToInt(); |
874 } | 874 } |
875 os << "\n"; | 875 os << "\n"; |
876 } | 876 } |
877 return os; | 877 return os; |
878 } | 878 } |
879 | 879 |
880 } // namespace compiler | 880 } // namespace compiler |
881 } // namespace internal | 881 } // namespace internal |
882 } // namespace v8 | 882 } // namespace v8 |
OLD | NEW |