Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 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/machine-graph-verifier.h" | 5 #include "src/compiler/machine-graph-verifier.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/linkage.h" | 9 #include "src/compiler/linkage.h" |
| 10 #include "src/compiler/machine-operator.h" | 10 #include "src/compiler/machine-operator.h" |
| (...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 512 CheckValueInputRepresentationIs( | 512 CheckValueInputRepresentationIs( |
| 513 node, 2, inferrer_->GetRepresentation(node)); | 513 node, 2, inferrer_->GetRepresentation(node)); |
| 514 } | 514 } |
| 515 break; | 515 break; |
| 516 } | 516 } |
| 517 break; | 517 break; |
| 518 } | 518 } |
| 519 case IrOpcode::kTypedStateValues: | 519 case IrOpcode::kTypedStateValues: |
| 520 case IrOpcode::kFrameState: | 520 case IrOpcode::kFrameState: |
| 521 break; | 521 break; |
| 522 case IrOpcode::kRetain: | |
|
caitp
2017/01/10 04:13:41
TODO(caitp): get rid of this (and any calls to Ret
| |
| 523 break; | |
| 522 default: | 524 default: |
| 523 if (node->op()->ValueInputCount() != 0) { | 525 if (node->op()->ValueInputCount() != 0) { |
| 524 std::stringstream str; | 526 std::stringstream str; |
| 525 str << "Node #" << node->id() << ":" << *node->op() | 527 str << "Node #" << node->id() << ":" << *node->op() |
| 526 << " in the machine graph is not being checked."; | 528 << " in the machine graph is not being checked."; |
| 527 PrintDebugHelp(str, node); | 529 PrintDebugHelp(str, node); |
| 528 FATAL(str.str().c_str()); | 530 FATAL(str.str().c_str()); |
| 529 } | 531 } |
| 530 break; | 532 break; |
| 531 } | 533 } |
| (...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 801 MachineRepresentationInferrer representation_inferrer(schedule, graph, | 803 MachineRepresentationInferrer representation_inferrer(schedule, graph, |
| 802 linkage, temp_zone); | 804 linkage, temp_zone); |
| 803 MachineRepresentationChecker checker(schedule, &representation_inferrer, | 805 MachineRepresentationChecker checker(schedule, &representation_inferrer, |
| 804 is_stub, name); | 806 is_stub, name); |
| 805 checker.Run(); | 807 checker.Run(); |
| 806 } | 808 } |
| 807 | 809 |
| 808 } // namespace compiler | 810 } // namespace compiler |
| 809 } // namespace internal | 811 } // namespace internal |
| 810 } // namespace v8 | 812 } // namespace v8 |
| OLD | NEW |