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 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
512 break; | 512 break; |
513 case kX64Movsd: | 513 case kX64Movsd: |
514 if (instr->HasOutput()) { | 514 if (instr->HasOutput()) { |
515 __ movsd(i.OutputDoubleRegister(), i.MemoryOperand()); | 515 __ movsd(i.OutputDoubleRegister(), i.MemoryOperand()); |
516 } else { | 516 } else { |
517 int index = 0; | 517 int index = 0; |
518 Operand operand = i.MemoryOperand(&index); | 518 Operand operand = i.MemoryOperand(&index); |
519 __ movsd(operand, i.InputDoubleRegister(index)); | 519 __ movsd(operand, i.InputDoubleRegister(index)); |
520 } | 520 } |
521 break; | 521 break; |
| 522 case kX64Lea32: |
| 523 __ leal(i.OutputRegister(), i.MemoryOperand()); |
| 524 break; |
| 525 case kX64Lea: |
| 526 __ leaq(i.OutputRegister(), i.MemoryOperand()); |
| 527 break; |
522 case kX64Push: | 528 case kX64Push: |
523 if (HasImmediateInput(instr, 0)) { | 529 if (HasImmediateInput(instr, 0)) { |
524 __ pushq(i.InputImmediate(0)); | 530 __ pushq(i.InputImmediate(0)); |
525 } else { | 531 } else { |
526 if (instr->InputAt(0)->IsRegister()) { | 532 if (instr->InputAt(0)->IsRegister()) { |
527 __ pushq(i.InputRegister(0)); | 533 __ pushq(i.InputRegister(0)); |
528 } else { | 534 } else { |
529 __ pushq(i.InputOperand(0)); | 535 __ pushq(i.InputOperand(0)); |
530 } | 536 } |
531 } | 537 } |
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
969 } | 975 } |
970 } | 976 } |
971 MarkLazyDeoptSite(); | 977 MarkLazyDeoptSite(); |
972 } | 978 } |
973 | 979 |
974 #undef __ | 980 #undef __ |
975 | 981 |
976 } // namespace internal | 982 } // namespace internal |
977 } // namespace compiler | 983 } // namespace compiler |
978 } // namespace v8 | 984 } // namespace v8 |
OLD | NEW |