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/base/bits.h" | 6 #include "src/base/bits.h" |
7 #include "src/compiler/instruction-selector-impl.h" | 7 #include "src/compiler/instruction-selector-impl.h" |
8 #include "src/compiler/node-matchers.h" | 8 #include "src/compiler/node-matchers.h" |
9 #include "src/compiler/node-properties.h" | 9 #include "src/compiler/node-properties.h" |
10 | 10 |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 break; | 192 break; |
193 case MachineRepresentation::kSimd128: // Fall through. | 193 case MachineRepresentation::kSimd128: // Fall through. |
194 case MachineRepresentation::kNone: | 194 case MachineRepresentation::kNone: |
195 UNREACHABLE(); | 195 UNREACHABLE(); |
196 return; | 196 return; |
197 } | 197 } |
198 | 198 |
199 EmitLoad(this, node, opcode); | 199 EmitLoad(this, node, opcode); |
200 } | 200 } |
201 | 201 |
| 202 void InstructionSelector::VisitProtectedLoad(Node* node) { |
| 203 // TODO(eholk) |
| 204 UNIMPLEMENTED(); |
| 205 } |
202 | 206 |
203 void InstructionSelector::VisitStore(Node* node) { | 207 void InstructionSelector::VisitStore(Node* node) { |
204 Mips64OperandGenerator g(this); | 208 Mips64OperandGenerator g(this); |
205 Node* base = node->InputAt(0); | 209 Node* base = node->InputAt(0); |
206 Node* index = node->InputAt(1); | 210 Node* index = node->InputAt(1); |
207 Node* value = node->InputAt(2); | 211 Node* value = node->InputAt(2); |
208 | 212 |
209 StoreRepresentation store_rep = StoreRepresentationOf(node->op()); | 213 StoreRepresentation store_rep = StoreRepresentationOf(node->op()); |
210 WriteBarrierKind write_barrier_kind = store_rep.write_barrier_kind(); | 214 WriteBarrierKind write_barrier_kind = store_rep.write_barrier_kind(); |
211 MachineRepresentation rep = store_rep.representation(); | 215 MachineRepresentation rep = store_rep.representation(); |
(...skipping 1987 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2199 } else { | 2203 } else { |
2200 DCHECK(kArchVariant == kMips64r2); | 2204 DCHECK(kArchVariant == kMips64r2); |
2201 return MachineOperatorBuilder::AlignmentRequirements:: | 2205 return MachineOperatorBuilder::AlignmentRequirements:: |
2202 NoUnalignedAccessSupport(); | 2206 NoUnalignedAccessSupport(); |
2203 } | 2207 } |
2204 } | 2208 } |
2205 | 2209 |
2206 } // namespace compiler | 2210 } // namespace compiler |
2207 } // namespace internal | 2211 } // namespace internal |
2208 } // namespace v8 | 2212 } // namespace v8 |
OLD | NEW |