| 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 3358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3510 isolate(), graph()->zone(), callable.descriptor(), 0, flags, | 3513 isolate(), graph()->zone(), callable.descriptor(), 0, flags, |
| 3511 Operator::kNoProperties); | 3514 Operator::kNoProperties); |
| 3512 to_number_operator_.set(common()->Call(desc)); | 3515 to_number_operator_.set(common()->Call(desc)); |
| 3513 } | 3516 } |
| 3514 return to_number_operator_.get(); | 3517 return to_number_operator_.get(); |
| 3515 } | 3518 } |
| 3516 | 3519 |
| 3517 } // namespace compiler | 3520 } // namespace compiler |
| 3518 } // namespace internal | 3521 } // namespace internal |
| 3519 } // namespace v8 | 3522 } // namespace v8 |
| OLD | NEW |