| 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 999 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1010 ? g.UseRegister(input.node()) | 1010 ? g.UseRegister(input.node()) |
| 1011 : g.Use(input.node()); | 1011 : g.Use(input.node()); |
| 1012 Emit(kX87Push, g.NoOutput(), value); | 1012 Emit(kX87Push, g.NoOutput(), value); |
| 1013 } | 1013 } |
| 1014 } | 1014 } |
| 1015 } | 1015 } |
| 1016 | 1016 |
| 1017 | 1017 |
| 1018 bool InstructionSelector::IsTailCallAddressImmediate() { return true; } | 1018 bool InstructionSelector::IsTailCallAddressImmediate() { return true; } |
| 1019 | 1019 |
| 1020 int InstructionSelector::GetTempsCountForTailCallFromJSFunction() { return 0; } |
| 1020 | 1021 |
| 1021 namespace { | 1022 namespace { |
| 1022 | 1023 |
| 1023 void VisitCompareWithMemoryOperand(InstructionSelector* selector, | 1024 void VisitCompareWithMemoryOperand(InstructionSelector* selector, |
| 1024 InstructionCode opcode, Node* left, | 1025 InstructionCode opcode, Node* left, |
| 1025 InstructionOperand right, | 1026 InstructionOperand right, |
| 1026 FlagsContinuation* cont) { | 1027 FlagsContinuation* cont) { |
| 1027 DCHECK(left->opcode() == IrOpcode::kLoad); | 1028 DCHECK(left->opcode() == IrOpcode::kLoad); |
| 1028 X87OperandGenerator g(selector); | 1029 X87OperandGenerator g(selector); |
| 1029 size_t input_count = 0; | 1030 size_t input_count = 0; |
| (...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1486 MachineOperatorBuilder::kFloat32RoundTruncate | | 1487 MachineOperatorBuilder::kFloat32RoundTruncate | |
| 1487 MachineOperatorBuilder::kFloat64RoundTruncate | | 1488 MachineOperatorBuilder::kFloat64RoundTruncate | |
| 1488 MachineOperatorBuilder::kFloat32RoundTiesEven | | 1489 MachineOperatorBuilder::kFloat32RoundTiesEven | |
| 1489 MachineOperatorBuilder::kFloat64RoundTiesEven; | 1490 MachineOperatorBuilder::kFloat64RoundTiesEven; |
| 1490 return flags; | 1491 return flags; |
| 1491 } | 1492 } |
| 1492 | 1493 |
| 1493 } // namespace compiler | 1494 } // namespace compiler |
| 1494 } // namespace internal | 1495 } // namespace internal |
| 1495 } // namespace v8 | 1496 } // namespace v8 |
| OLD | NEW |