| 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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 201           break; | 201           break; | 
| 202         case MachineRepresentation::kFloat32: | 202         case MachineRepresentation::kFloat32: | 
| 203           os << "|f32"; | 203           os << "|f32"; | 
| 204           break; | 204           break; | 
| 205         case MachineRepresentation::kFloat64: | 205         case MachineRepresentation::kFloat64: | 
| 206           os << "|f64"; | 206           os << "|f64"; | 
| 207           break; | 207           break; | 
| 208         case MachineRepresentation::kSimd128: | 208         case MachineRepresentation::kSimd128: | 
| 209           os << "|s128"; | 209           os << "|s128"; | 
| 210           break; | 210           break; | 
|  | 211         case MachineRepresentation::kSimd1x4: | 
|  | 212           os << "|s1x4"; | 
|  | 213           break; | 
|  | 214         case MachineRepresentation::kSimd1x8: | 
|  | 215           os << "|s1x8"; | 
|  | 216           break; | 
|  | 217         case MachineRepresentation::kSimd1x16: | 
|  | 218           os << "|s1x16"; | 
|  | 219           break; | 
| 211         case MachineRepresentation::kTaggedSigned: | 220         case MachineRepresentation::kTaggedSigned: | 
| 212           os << "|ts"; | 221           os << "|ts"; | 
| 213           break; | 222           break; | 
| 214         case MachineRepresentation::kTaggedPointer: | 223         case MachineRepresentation::kTaggedPointer: | 
| 215           os << "|tp"; | 224           os << "|tp"; | 
| 216           break; | 225           break; | 
| 217         case MachineRepresentation::kTagged: | 226         case MachineRepresentation::kTagged: | 
| 218           os << "|t"; | 227           os << "|t"; | 
| 219           break; | 228           break; | 
| 220       } | 229       } | 
| (...skipping 660 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 881   switch (rep) { | 890   switch (rep) { | 
| 882     case MachineRepresentation::kBit: | 891     case MachineRepresentation::kBit: | 
| 883     case MachineRepresentation::kWord8: | 892     case MachineRepresentation::kWord8: | 
| 884     case MachineRepresentation::kWord16: | 893     case MachineRepresentation::kWord16: | 
| 885       return InstructionSequence::DefaultRepresentation(); | 894       return InstructionSequence::DefaultRepresentation(); | 
| 886     case MachineRepresentation::kWord32: | 895     case MachineRepresentation::kWord32: | 
| 887     case MachineRepresentation::kWord64: | 896     case MachineRepresentation::kWord64: | 
| 888     case MachineRepresentation::kFloat32: | 897     case MachineRepresentation::kFloat32: | 
| 889     case MachineRepresentation::kFloat64: | 898     case MachineRepresentation::kFloat64: | 
| 890     case MachineRepresentation::kSimd128: | 899     case MachineRepresentation::kSimd128: | 
|  | 900     case MachineRepresentation::kSimd1x4: | 
|  | 901     case MachineRepresentation::kSimd1x8: | 
|  | 902     case MachineRepresentation::kSimd1x16: | 
| 891     case MachineRepresentation::kTaggedSigned: | 903     case MachineRepresentation::kTaggedSigned: | 
| 892     case MachineRepresentation::kTaggedPointer: | 904     case MachineRepresentation::kTaggedPointer: | 
| 893     case MachineRepresentation::kTagged: | 905     case MachineRepresentation::kTagged: | 
| 894       return rep; | 906       return rep; | 
| 895     case MachineRepresentation::kNone: | 907     case MachineRepresentation::kNone: | 
| 896       break; | 908       break; | 
| 897   } | 909   } | 
| 898   UNREACHABLE(); | 910   UNREACHABLE(); | 
| 899   return MachineRepresentation::kNone; | 911   return MachineRepresentation::kNone; | 
| 900 } | 912 } | 
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1088   for (int i = 0; i < code.InstructionBlockCount(); i++) { | 1100   for (int i = 0; i < code.InstructionBlockCount(); i++) { | 
| 1089     printable_block.block_ = code.InstructionBlockAt(RpoNumber::FromInt(i)); | 1101     printable_block.block_ = code.InstructionBlockAt(RpoNumber::FromInt(i)); | 
| 1090     os << printable_block; | 1102     os << printable_block; | 
| 1091   } | 1103   } | 
| 1092   return os; | 1104   return os; | 
| 1093 } | 1105 } | 
| 1094 | 1106 | 
| 1095 }  // namespace compiler | 1107 }  // namespace compiler | 
| 1096 }  // namespace internal | 1108 }  // namespace internal | 
| 1097 }  // namespace v8 | 1109 }  // namespace v8 | 
| OLD | NEW | 
|---|