| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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/compiler/code-generator.h" | 5 #include "src/compiler/code-generator.h" |
| 6 | 6 |
| 7 #include "src/compiler/code-generator-impl.h" | 7 #include "src/compiler/code-generator-impl.h" |
| 8 #include "src/compiler/gap-resolver.h" | 8 #include "src/compiler/gap-resolver.h" |
| 9 #include "src/compiler/node-matchers.h" | 9 #include "src/compiler/node-matchers.h" |
| 10 #include "src/compiler/node-properties-inl.h" | 10 #include "src/compiler/node-properties-inl.h" |
| (...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 590 __ movsd(operand, i.InputDoubleRegister(index)); | 590 __ movsd(operand, i.InputDoubleRegister(index)); |
| 591 } | 591 } |
| 592 break; | 592 break; |
| 593 case kX64Lea32: | 593 case kX64Lea32: |
| 594 __ leal(i.OutputRegister(), i.MemoryOperand()); | 594 __ leal(i.OutputRegister(), i.MemoryOperand()); |
| 595 __ AssertZeroExtended(i.OutputRegister()); | 595 __ AssertZeroExtended(i.OutputRegister()); |
| 596 break; | 596 break; |
| 597 case kX64Lea: | 597 case kX64Lea: |
| 598 __ leaq(i.OutputRegister(), i.MemoryOperand()); | 598 __ leaq(i.OutputRegister(), i.MemoryOperand()); |
| 599 break; | 599 break; |
| 600 case kX64Dec32: |
| 601 __ decl(i.OutputRegister()); |
| 602 break; |
| 603 case kX64Inc32: |
| 604 __ incl(i.OutputRegister()); |
| 605 break; |
| 600 case kX64Push: | 606 case kX64Push: |
| 601 if (HasImmediateInput(instr, 0)) { | 607 if (HasImmediateInput(instr, 0)) { |
| 602 __ pushq(i.InputImmediate(0)); | 608 __ pushq(i.InputImmediate(0)); |
| 603 } else { | 609 } else { |
| 604 if (instr->InputAt(0)->IsRegister()) { | 610 if (instr->InputAt(0)->IsRegister()) { |
| 605 __ pushq(i.InputRegister(0)); | 611 __ pushq(i.InputRegister(0)); |
| 606 } else { | 612 } else { |
| 607 __ pushq(i.InputOperand(0)); | 613 __ pushq(i.InputOperand(0)); |
| 608 } | 614 } |
| 609 } | 615 } |
| (...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1031 } | 1037 } |
| 1032 } | 1038 } |
| 1033 MarkLazyDeoptSite(); | 1039 MarkLazyDeoptSite(); |
| 1034 } | 1040 } |
| 1035 | 1041 |
| 1036 #undef __ | 1042 #undef __ |
| 1037 | 1043 |
| 1038 } // namespace internal | 1044 } // namespace internal |
| 1039 } // namespace compiler | 1045 } // namespace compiler |
| 1040 } // namespace v8 | 1046 } // namespace v8 |
| OLD | NEW |