| 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 749 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 760     switch (expected) { | 760     switch (expected) { | 
| 761       case MachineRepresentation::kTagged: | 761       case MachineRepresentation::kTagged: | 
| 762         return (actual == MachineRepresentation::kTagged || | 762         return (actual == MachineRepresentation::kTagged || | 
| 763                 actual == MachineRepresentation::kTaggedSigned || | 763                 actual == MachineRepresentation::kTaggedSigned || | 
| 764                 actual == MachineRepresentation::kTaggedPointer); | 764                 actual == MachineRepresentation::kTaggedPointer); | 
| 765       case MachineRepresentation::kTaggedSigned: | 765       case MachineRepresentation::kTaggedSigned: | 
| 766       case MachineRepresentation::kTaggedPointer: | 766       case MachineRepresentation::kTaggedPointer: | 
| 767       case MachineRepresentation::kFloat32: | 767       case MachineRepresentation::kFloat32: | 
| 768       case MachineRepresentation::kFloat64: | 768       case MachineRepresentation::kFloat64: | 
| 769       case MachineRepresentation::kSimd128: | 769       case MachineRepresentation::kSimd128: | 
|  | 770       case MachineRepresentation::kSimd1x4: | 
|  | 771       case MachineRepresentation::kSimd1x8: | 
|  | 772       case MachineRepresentation::kSimd1x16: | 
| 770       case MachineRepresentation::kBit: | 773       case MachineRepresentation::kBit: | 
| 771       case MachineRepresentation::kWord8: | 774       case MachineRepresentation::kWord8: | 
| 772       case MachineRepresentation::kWord16: | 775       case MachineRepresentation::kWord16: | 
| 773       case MachineRepresentation::kWord64: | 776       case MachineRepresentation::kWord64: | 
| 774         return expected == actual; | 777         return expected == actual; | 
| 775         break; | 778         break; | 
| 776       case MachineRepresentation::kWord32: | 779       case MachineRepresentation::kWord32: | 
| 777         return (actual == MachineRepresentation::kBit || | 780         return (actual == MachineRepresentation::kBit || | 
| 778                 actual == MachineRepresentation::kWord8 || | 781                 actual == MachineRepresentation::kWord8 || | 
| 779                 actual == MachineRepresentation::kWord16 || | 782                 actual == MachineRepresentation::kWord16 || | 
| (...skipping 25 matching lines...) Expand all  Loading... | 
| 805   MachineRepresentationInferrer representation_inferrer(schedule, graph, | 808   MachineRepresentationInferrer representation_inferrer(schedule, graph, | 
| 806                                                         linkage, temp_zone); | 809                                                         linkage, temp_zone); | 
| 807   MachineRepresentationChecker checker(schedule, &representation_inferrer, | 810   MachineRepresentationChecker checker(schedule, &representation_inferrer, | 
| 808                                        is_stub, name); | 811                                        is_stub, name); | 
| 809   checker.Run(); | 812   checker.Run(); | 
| 810 } | 813 } | 
| 811 | 814 | 
| 812 }  // namespace compiler | 815 }  // namespace compiler | 
| 813 }  // namespace internal | 816 }  // namespace internal | 
| 814 }  // namespace v8 | 817 }  // namespace v8 | 
| OLD | NEW | 
|---|