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 #include "src/compiler/state-values-utils.h" | 9 #include "src/compiler/state-values-utils.h" |
10 | 10 |
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
426 std::ostream& operator<<(std::ostream& os, const FlagsMode& fm) { | 426 std::ostream& operator<<(std::ostream& os, const FlagsMode& fm) { |
427 switch (fm) { | 427 switch (fm) { |
428 case kFlags_none: | 428 case kFlags_none: |
429 return os; | 429 return os; |
430 case kFlags_branch: | 430 case kFlags_branch: |
431 return os << "branch"; | 431 return os << "branch"; |
432 case kFlags_deoptimize: | 432 case kFlags_deoptimize: |
433 return os << "deoptimize"; | 433 return os << "deoptimize"; |
434 case kFlags_set: | 434 case kFlags_set: |
435 return os << "set"; | 435 return os << "set"; |
| 436 case kFlags_trap: |
| 437 return os << "trap"; |
436 } | 438 } |
437 UNREACHABLE(); | 439 UNREACHABLE(); |
438 return os; | 440 return os; |
439 } | 441 } |
440 | 442 |
441 | 443 |
442 std::ostream& operator<<(std::ostream& os, const FlagsCondition& fc) { | 444 std::ostream& operator<<(std::ostream& os, const FlagsCondition& fc) { |
443 switch (fc) { | 445 switch (fc) { |
444 case kEqual: | 446 case kEqual: |
445 return os << "equal"; | 447 return os << "equal"; |
(...skipping 628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1074 for (int i = 0; i < code.InstructionBlockCount(); i++) { | 1076 for (int i = 0; i < code.InstructionBlockCount(); i++) { |
1075 printable_block.block_ = code.InstructionBlockAt(RpoNumber::FromInt(i)); | 1077 printable_block.block_ = code.InstructionBlockAt(RpoNumber::FromInt(i)); |
1076 os << printable_block; | 1078 os << printable_block; |
1077 } | 1079 } |
1078 return os; | 1080 return os; |
1079 } | 1081 } |
1080 | 1082 |
1081 } // namespace compiler | 1083 } // namespace compiler |
1082 } // namespace internal | 1084 } // namespace internal |
1083 } // namespace v8 | 1085 } // namespace v8 |
OLD | NEW |