| 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 865 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 876 Emit(kMipsStoreToStackSlot, g.NoOutput(), g.UseRegister(input.node()), | 876 Emit(kMipsStoreToStackSlot, g.NoOutput(), g.UseRegister(input.node()), |
| 877 g.TempImmediate(n << kPointerSizeLog2)); | 877 g.TempImmediate(n << kPointerSizeLog2)); |
| 878 } | 878 } |
| 879 } | 879 } |
| 880 } | 880 } |
| 881 } | 881 } |
| 882 | 882 |
| 883 | 883 |
| 884 bool InstructionSelector::IsTailCallAddressImmediate() { return false; } | 884 bool InstructionSelector::IsTailCallAddressImmediate() { return false; } |
| 885 | 885 |
| 886 int InstructionSelector::GetTempsCountForTailCallFromJSFunction() { return 3; } |
| 886 | 887 |
| 887 void InstructionSelector::VisitCheckedLoad(Node* node) { | 888 void InstructionSelector::VisitCheckedLoad(Node* node) { |
| 888 CheckedLoadRepresentation load_rep = CheckedLoadRepresentationOf(node->op()); | 889 CheckedLoadRepresentation load_rep = CheckedLoadRepresentationOf(node->op()); |
| 889 MipsOperandGenerator g(this); | 890 MipsOperandGenerator g(this); |
| 890 Node* const buffer = node->InputAt(0); | 891 Node* const buffer = node->InputAt(0); |
| 891 Node* const offset = node->InputAt(1); | 892 Node* const offset = node->InputAt(1); |
| 892 Node* const length = node->InputAt(2); | 893 Node* const length = node->InputAt(2); |
| 893 ArchOpcode opcode = kArchNop; | 894 ArchOpcode opcode = kArchNop; |
| 894 switch (load_rep.representation()) { | 895 switch (load_rep.representation()) { |
| 895 case MachineRepresentation::kWord8: | 896 case MachineRepresentation::kWord8: |
| (...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1388 MachineOperatorBuilder::kFloat32Max | | 1389 MachineOperatorBuilder::kFloat32Max | |
| 1389 MachineOperatorBuilder::kFloat32RoundDown | | 1390 MachineOperatorBuilder::kFloat32RoundDown | |
| 1390 MachineOperatorBuilder::kFloat32RoundUp | | 1391 MachineOperatorBuilder::kFloat32RoundUp | |
| 1391 MachineOperatorBuilder::kFloat32RoundTruncate | | 1392 MachineOperatorBuilder::kFloat32RoundTruncate | |
| 1392 MachineOperatorBuilder::kFloat32RoundTiesEven; | 1393 MachineOperatorBuilder::kFloat32RoundTiesEven; |
| 1393 } | 1394 } |
| 1394 | 1395 |
| 1395 } // namespace compiler | 1396 } // namespace compiler |
| 1396 } // namespace internal | 1397 } // namespace internal |
| 1397 } // namespace v8 | 1398 } // namespace v8 |
| OLD | NEW |