| 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 return UseInfo::Float32(); | 129 return UseInfo::Float32(); |
| 130 case MachineRepresentation::kWord64: | 130 case MachineRepresentation::kWord64: |
| 131 return UseInfo::TruncatingWord64(); | 131 return UseInfo::TruncatingWord64(); |
| 132 case MachineRepresentation::kWord8: | 132 case MachineRepresentation::kWord8: |
| 133 case MachineRepresentation::kWord16: | 133 case MachineRepresentation::kWord16: |
| 134 case MachineRepresentation::kWord32: | 134 case MachineRepresentation::kWord32: |
| 135 return UseInfo::TruncatingWord32(); | 135 return UseInfo::TruncatingWord32(); |
| 136 case MachineRepresentation::kBit: | 136 case MachineRepresentation::kBit: |
| 137 return UseInfo::Bool(); | 137 return UseInfo::Bool(); |
| 138 case MachineRepresentation::kSimd128: | 138 case MachineRepresentation::kSimd128: |
| 139 case MachineRepresentation::kSimd1x4: | |
| 140 case MachineRepresentation::kSimd1x8: | |
| 141 case MachineRepresentation::kSimd1x16: | |
| 142 case MachineRepresentation::kNone: | 139 case MachineRepresentation::kNone: |
| 143 break; | 140 break; |
| 144 } | 141 } |
| 145 UNREACHABLE(); | 142 UNREACHABLE(); |
| 146 } | 143 } |
| 147 | 144 |
| 148 | 145 |
| 149 UseInfo UseInfoForBasePointer(const FieldAccess& access) { | 146 UseInfo UseInfoForBasePointer(const FieldAccess& access) { |
| 150 return access.tag() != 0 ? UseInfo::AnyTagged() : UseInfo::PointerInt(); | 147 return access.tag() != 0 ? UseInfo::AnyTagged() : UseInfo::PointerInt(); |
| 151 } | 148 } |
| (...skipping 3599 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3751 isolate(), graph()->zone(), callable.descriptor(), 0, flags, | 3748 isolate(), graph()->zone(), callable.descriptor(), 0, flags, |
| 3752 Operator::kNoProperties); | 3749 Operator::kNoProperties); |
| 3753 to_number_operator_.set(common()->Call(desc)); | 3750 to_number_operator_.set(common()->Call(desc)); |
| 3754 } | 3751 } |
| 3755 return to_number_operator_.get(); | 3752 return to_number_operator_.get(); |
| 3756 } | 3753 } |
| 3757 | 3754 |
| 3758 } // namespace compiler | 3755 } // namespace compiler |
| 3759 } // namespace internal | 3756 } // namespace internal |
| 3760 } // namespace v8 | 3757 } // namespace v8 |
| OLD | NEW |