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/base/adapters.h" | 5 #include "src/base/adapters.h" |
6 #include "src/compiler/linkage.h" | 6 #include "src/compiler/linkage.h" |
7 #include "src/compiler/register-allocator.h" | 7 #include "src/compiler/register-allocator.h" |
8 #include "src/string-stream.h" | 8 #include "src/string-stream.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 case MachineRepresentation::kBit: | 97 case MachineRepresentation::kBit: |
98 case MachineRepresentation::kWord8: | 98 case MachineRepresentation::kWord8: |
99 case MachineRepresentation::kWord16: | 99 case MachineRepresentation::kWord16: |
100 case MachineRepresentation::kWord32: | 100 case MachineRepresentation::kWord32: |
101 case MachineRepresentation::kTagged: | 101 case MachineRepresentation::kTagged: |
102 return kPointerSize; | 102 return kPointerSize; |
103 case MachineRepresentation::kFloat32: | 103 case MachineRepresentation::kFloat32: |
104 case MachineRepresentation::kWord64: | 104 case MachineRepresentation::kWord64: |
105 case MachineRepresentation::kFloat64: | 105 case MachineRepresentation::kFloat64: |
106 return 8; | 106 return 8; |
| 107 case MachineRepresentation::kSimd128: |
| 108 return 16; |
107 case MachineRepresentation::kNone: | 109 case MachineRepresentation::kNone: |
108 break; | 110 break; |
109 } | 111 } |
110 UNREACHABLE(); | 112 UNREACHABLE(); |
111 return 0; | 113 return 0; |
112 } | 114 } |
113 | 115 |
114 } // namespace | 116 } // namespace |
115 | 117 |
116 class LiveRangeBound { | 118 class LiveRangeBound { |
(...skipping 3461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3578 spill_operand); | 3580 spill_operand); |
3579 } | 3581 } |
3580 } | 3582 } |
3581 } | 3583 } |
3582 } | 3584 } |
3583 | 3585 |
3584 | 3586 |
3585 } // namespace compiler | 3587 } // namespace compiler |
3586 } // namespace internal | 3588 } // namespace internal |
3587 } // namespace v8 | 3589 } // namespace v8 |
OLD | NEW |