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/register-allocator.h" | 5 #include "src/compiler/register-allocator.h" |
6 | 6 |
7 #include "src/assembler-inl.h" | 7 #include "src/assembler-inl.h" |
8 #include "src/base/adapters.h" | 8 #include "src/base/adapters.h" |
9 #include "src/compiler/linkage.h" | 9 #include "src/compiler/linkage.h" |
10 #include "src/string-stream.h" | 10 #include "src/string-stream.h" |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 case MachineRepresentation::kTaggedSigned: | 81 case MachineRepresentation::kTaggedSigned: |
82 case MachineRepresentation::kTaggedPointer: | 82 case MachineRepresentation::kTaggedPointer: |
83 case MachineRepresentation::kTagged: | 83 case MachineRepresentation::kTagged: |
84 case MachineRepresentation::kFloat32: | 84 case MachineRepresentation::kFloat32: |
85 return kPointerSize; | 85 return kPointerSize; |
86 case MachineRepresentation::kWord64: | 86 case MachineRepresentation::kWord64: |
87 case MachineRepresentation::kFloat64: | 87 case MachineRepresentation::kFloat64: |
88 return kDoubleSize; | 88 return kDoubleSize; |
89 case MachineRepresentation::kSimd128: | 89 case MachineRepresentation::kSimd128: |
90 return kSimd128Size; | 90 return kSimd128Size; |
91 case MachineRepresentation::kSimd1x4: | |
92 case MachineRepresentation::kSimd1x8: | |
93 case MachineRepresentation::kSimd1x16: | |
94 return kSimdMaskRegisters ? kPointerSize : kSimd128Size; | |
95 case MachineRepresentation::kNone: | 91 case MachineRepresentation::kNone: |
96 break; | 92 break; |
97 } | 93 } |
98 UNREACHABLE(); | 94 UNREACHABLE(); |
99 } | 95 } |
100 | 96 |
101 } // namespace | 97 } // namespace |
102 | 98 |
103 class LiveRangeBound { | 99 class LiveRangeBound { |
104 public: | 100 public: |
(...skipping 3909 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4014 } | 4010 } |
4015 } | 4011 } |
4016 } | 4012 } |
4017 } | 4013 } |
4018 } | 4014 } |
4019 | 4015 |
4020 | 4016 |
4021 } // namespace compiler | 4017 } // namespace compiler |
4022 } // namespace internal | 4018 } // namespace internal |
4023 } // namespace v8 | 4019 } // namespace v8 |
OLD | NEW |