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/instruction-selector-impl.h" | 6 #include "src/compiler/instruction-selector-impl.h" |
7 #include "src/compiler/node-matchers.h" | 7 #include "src/compiler/node-matchers.h" |
8 #include "src/compiler/node-properties.h" | 8 #include "src/compiler/node-properties.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 AddressingMode addressing_mode = | 305 AddressingMode addressing_mode = |
306 g.GetEffectiveAddressMemoryOperand(node, inputs, &input_count); | 306 g.GetEffectiveAddressMemoryOperand(node, inputs, &input_count); |
307 InstructionCode code = | 307 InstructionCode code = |
308 opcode | AddressingModeField::encode(addressing_mode); | 308 opcode | AddressingModeField::encode(addressing_mode); |
309 inputs[input_count++] = val; | 309 inputs[input_count++] = val; |
310 Emit(code, 0, static_cast<InstructionOperand*>(nullptr), input_count, | 310 Emit(code, 0, static_cast<InstructionOperand*>(nullptr), input_count, |
311 inputs); | 311 inputs); |
312 } | 312 } |
313 } | 313 } |
314 | 314 |
| 315 void InstructionSelector::VisitProtectedStore(Node* node) { |
| 316 // TODO(eholk) |
| 317 UNIMPLEMENTED(); |
| 318 } |
| 319 |
315 // Architecture supports unaligned access, therefore VisitLoad is used instead | 320 // Architecture supports unaligned access, therefore VisitLoad is used instead |
316 void InstructionSelector::VisitUnalignedLoad(Node* node) { UNREACHABLE(); } | 321 void InstructionSelector::VisitUnalignedLoad(Node* node) { UNREACHABLE(); } |
317 | 322 |
318 // Architecture supports unaligned access, therefore VisitStore is used instead | 323 // Architecture supports unaligned access, therefore VisitStore is used instead |
319 void InstructionSelector::VisitUnalignedStore(Node* node) { UNREACHABLE(); } | 324 void InstructionSelector::VisitUnalignedStore(Node* node) { UNREACHABLE(); } |
320 | 325 |
321 void InstructionSelector::VisitCheckedLoad(Node* node) { | 326 void InstructionSelector::VisitCheckedLoad(Node* node) { |
322 CheckedLoadRepresentation load_rep = CheckedLoadRepresentationOf(node->op()); | 327 CheckedLoadRepresentation load_rep = CheckedLoadRepresentationOf(node->op()); |
323 X87OperandGenerator g(this); | 328 X87OperandGenerator g(this); |
324 Node* const buffer = node->InputAt(0); | 329 Node* const buffer = node->InputAt(0); |
(...skipping 1456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1781 // static | 1786 // static |
1782 MachineOperatorBuilder::AlignmentRequirements | 1787 MachineOperatorBuilder::AlignmentRequirements |
1783 InstructionSelector::AlignmentRequirements() { | 1788 InstructionSelector::AlignmentRequirements() { |
1784 return MachineOperatorBuilder::AlignmentRequirements:: | 1789 return MachineOperatorBuilder::AlignmentRequirements:: |
1785 FullUnalignedAccessSupport(); | 1790 FullUnalignedAccessSupport(); |
1786 } | 1791 } |
1787 | 1792 |
1788 } // namespace compiler | 1793 } // namespace compiler |
1789 } // namespace internal | 1794 } // namespace internal |
1790 } // namespace v8 | 1795 } // namespace v8 |
OLD | NEW |