| 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/bits.h" | 5 #include "src/base/bits.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 | 8 |
| 9 namespace v8 { | 9 namespace v8 { |
| 10 namespace internal { | 10 namespace internal { |
| (...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 431 } | 431 } |
| 432 | 432 |
| 433 | 433 |
| 434 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) { | 434 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) { |
| 435 UNREACHABLE(); | 435 UNREACHABLE(); |
| 436 } | 436 } |
| 437 | 437 |
| 438 | 438 |
| 439 void InstructionSelector::VisitCall(Node* node) { | 439 void InstructionSelector::VisitCall(Node* node) { |
| 440 MipsOperandGenerator g(this); | 440 MipsOperandGenerator g(this); |
| 441 CallDescriptor* descriptor = OpParameter<CallDescriptor*>(node); | 441 const CallDescriptor* descriptor = OpParameter<const CallDescriptor*>(node); |
| 442 | 442 |
| 443 FrameStateDescriptor* frame_state_descriptor = NULL; | 443 FrameStateDescriptor* frame_state_descriptor = NULL; |
| 444 if (descriptor->NeedsFrameState()) { | 444 if (descriptor->NeedsFrameState()) { |
| 445 frame_state_descriptor = | 445 frame_state_descriptor = |
| 446 GetFrameStateDescriptor(node->InputAt(descriptor->InputCount())); | 446 GetFrameStateDescriptor(node->InputAt(descriptor->InputCount())); |
| 447 } | 447 } |
| 448 | 448 |
| 449 CallBuffer buffer(zone(), descriptor, frame_state_descriptor); | 449 CallBuffer buffer(zone(), descriptor, frame_state_descriptor); |
| 450 | 450 |
| 451 // Compute InstructionOperands for inputs and outputs. | 451 // Compute InstructionOperands for inputs and outputs. |
| (...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 805 | 805 |
| 806 // static | 806 // static |
| 807 MachineOperatorBuilder::Flags | 807 MachineOperatorBuilder::Flags |
| 808 InstructionSelector::SupportedMachineOperatorFlags() { | 808 InstructionSelector::SupportedMachineOperatorFlags() { |
| 809 return MachineOperatorBuilder::kNoFlags; | 809 return MachineOperatorBuilder::kNoFlags; |
| 810 } | 810 } |
| 811 | 811 |
| 812 } // namespace compiler | 812 } // namespace compiler |
| 813 } // namespace internal | 813 } // namespace internal |
| 814 } // namespace v8 | 814 } // namespace v8 |
| OLD | NEW |