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/simplified-lowering.h" | 5 #include "src/compiler/simplified-lowering.h" |
6 | 6 |
7 #include <limits> | 7 #include <limits> |
8 | 8 |
9 #include "src/address-map.h" | 9 #include "src/address-map.h" |
10 #include "src/base/bits.h" | 10 #include "src/base/bits.h" |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 case MachineRepresentation::kFloat32: | 131 case MachineRepresentation::kFloat32: |
132 return UseInfo::Float32(); | 132 return UseInfo::Float32(); |
133 case MachineRepresentation::kWord64: | 133 case MachineRepresentation::kWord64: |
134 return UseInfo::TruncatingWord64(); | 134 return UseInfo::TruncatingWord64(); |
135 case MachineRepresentation::kWord8: | 135 case MachineRepresentation::kWord8: |
136 case MachineRepresentation::kWord16: | 136 case MachineRepresentation::kWord16: |
137 case MachineRepresentation::kWord32: | 137 case MachineRepresentation::kWord32: |
138 return UseInfo::TruncatingWord32(); | 138 return UseInfo::TruncatingWord32(); |
139 case MachineRepresentation::kBit: | 139 case MachineRepresentation::kBit: |
140 return UseInfo::Bool(); | 140 return UseInfo::Bool(); |
141 case MachineRepresentation::kSimd128: // Fall through. | 141 case MachineRepresentation::kSimd128: |
| 142 case MachineRepresentation::kSimd1x4: |
| 143 case MachineRepresentation::kSimd1x8: |
| 144 case MachineRepresentation::kSimd1x16: |
142 case MachineRepresentation::kNone: | 145 case MachineRepresentation::kNone: |
143 break; | 146 break; |
144 } | 147 } |
145 UNREACHABLE(); | 148 UNREACHABLE(); |
146 return UseInfo::None(); | 149 return UseInfo::None(); |
147 } | 150 } |
148 | 151 |
149 | 152 |
150 UseInfo UseInfoForBasePointer(const FieldAccess& access) { | 153 UseInfo UseInfoForBasePointer(const FieldAccess& access) { |
151 return access.tag() != 0 ? UseInfo::AnyTagged() : UseInfo::PointerInt(); | 154 return access.tag() != 0 ? UseInfo::AnyTagged() : UseInfo::PointerInt(); |
(...skipping 3361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3513 isolate(), graph()->zone(), callable.descriptor(), 0, flags, | 3516 isolate(), graph()->zone(), callable.descriptor(), 0, flags, |
3514 Operator::kNoProperties); | 3517 Operator::kNoProperties); |
3515 to_number_operator_.set(common()->Call(desc)); | 3518 to_number_operator_.set(common()->Call(desc)); |
3516 } | 3519 } |
3517 return to_number_operator_.get(); | 3520 return to_number_operator_.get(); |
3518 } | 3521 } |
3519 | 3522 |
3520 } // namespace compiler | 3523 } // namespace compiler |
3521 } // namespace internal | 3524 } // namespace internal |
3522 } // namespace v8 | 3525 } // namespace v8 |
OLD | NEW |