| 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 975 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 986 } else { | 986 } else { |
| 987 Emit(kIA32Push, g.NoOutput(), value); | 987 Emit(kIA32Push, g.NoOutput(), value); |
| 988 } | 988 } |
| 989 } | 989 } |
| 990 } | 990 } |
| 991 } | 991 } |
| 992 | 992 |
| 993 | 993 |
| 994 bool InstructionSelector::IsTailCallAddressImmediate() { return true; } | 994 bool InstructionSelector::IsTailCallAddressImmediate() { return true; } |
| 995 | 995 |
| 996 int InstructionSelector::GetTempsCountForTailCallFromJSFunction() { return 0; } |
| 996 | 997 |
| 997 namespace { | 998 namespace { |
| 998 | 999 |
| 999 void VisitCompareWithMemoryOperand(InstructionSelector* selector, | 1000 void VisitCompareWithMemoryOperand(InstructionSelector* selector, |
| 1000 InstructionCode opcode, Node* left, | 1001 InstructionCode opcode, Node* left, |
| 1001 InstructionOperand right, | 1002 InstructionOperand right, |
| 1002 FlagsContinuation* cont) { | 1003 FlagsContinuation* cont) { |
| 1003 DCHECK(left->opcode() == IrOpcode::kLoad); | 1004 DCHECK(left->opcode() == IrOpcode::kLoad); |
| 1004 IA32OperandGenerator g(selector); | 1005 IA32OperandGenerator g(selector); |
| 1005 size_t input_count = 0; | 1006 size_t input_count = 0; |
| (...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1444 MachineOperatorBuilder::kFloat64RoundTruncate | | 1445 MachineOperatorBuilder::kFloat64RoundTruncate | |
| 1445 MachineOperatorBuilder::kFloat32RoundTiesEven | | 1446 MachineOperatorBuilder::kFloat32RoundTiesEven | |
| 1446 MachineOperatorBuilder::kFloat64RoundTiesEven; | 1447 MachineOperatorBuilder::kFloat64RoundTiesEven; |
| 1447 } | 1448 } |
| 1448 return flags; | 1449 return flags; |
| 1449 } | 1450 } |
| 1450 | 1451 |
| 1451 } // namespace compiler | 1452 } // namespace compiler |
| 1452 } // namespace internal | 1453 } // namespace internal |
| 1453 } // namespace v8 | 1454 } // namespace v8 |
| OLD | NEW |