| 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 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 386 return os; | 386 return os; |
| 387 } | 387 } |
| 388 | 388 |
| 389 | 389 |
| 390 std::ostream& operator<<(std::ostream& os, const FlagsMode& fm) { | 390 std::ostream& operator<<(std::ostream& os, const FlagsMode& fm) { |
| 391 switch (fm) { | 391 switch (fm) { |
| 392 case kFlags_none: | 392 case kFlags_none: |
| 393 return os; | 393 return os; |
| 394 case kFlags_branch: | 394 case kFlags_branch: |
| 395 return os << "branch"; | 395 return os << "branch"; |
| 396 case kFlags_deoptimize: |
| 397 return os << "deoptimize"; |
| 396 case kFlags_set: | 398 case kFlags_set: |
| 397 return os << "set"; | 399 return os << "set"; |
| 398 } | 400 } |
| 399 UNREACHABLE(); | 401 UNREACHABLE(); |
| 400 return os; | 402 return os; |
| 401 } | 403 } |
| 402 | 404 |
| 403 | 405 |
| 404 std::ostream& operator<<(std::ostream& os, const FlagsCondition& fc) { | 406 std::ostream& operator<<(std::ostream& os, const FlagsCondition& fc) { |
| 405 switch (fc) { | 407 switch (fc) { |
| (...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 980 } | 982 } |
| 981 for (int i = 0; i < code.InstructionBlockCount(); i++) { | 983 for (int i = 0; i < code.InstructionBlockCount(); i++) { |
| 982 printable.sequence_->PrintBlock(printable.register_configuration_, i); | 984 printable.sequence_->PrintBlock(printable.register_configuration_, i); |
| 983 } | 985 } |
| 984 return os; | 986 return os; |
| 985 } | 987 } |
| 986 | 988 |
| 987 } // namespace compiler | 989 } // namespace compiler |
| 988 } // namespace internal | 990 } // namespace internal |
| 989 } // namespace v8 | 991 } // namespace v8 |
| OLD | NEW |