| 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 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 429 break; | 429 break; |
| 430 case kIA32Movss: | 430 case kIA32Movss: |
| 431 if (instr->HasOutput()) { | 431 if (instr->HasOutput()) { |
| 432 __ movss(i.OutputDoubleRegister(), i.MemoryOperand()); | 432 __ movss(i.OutputDoubleRegister(), i.MemoryOperand()); |
| 433 } else { | 433 } else { |
| 434 int index = 0; | 434 int index = 0; |
| 435 Operand operand = i.MemoryOperand(&index); | 435 Operand operand = i.MemoryOperand(&index); |
| 436 __ movss(operand, i.InputDoubleRegister(index)); | 436 __ movss(operand, i.InputDoubleRegister(index)); |
| 437 } | 437 } |
| 438 break; | 438 break; |
| 439 case kIA32Lea: |
| 440 __ lea(i.OutputRegister(), i.MemoryOperand()); |
| 441 break; |
| 439 case kIA32Push: | 442 case kIA32Push: |
| 440 if (HasImmediateInput(instr, 0)) { | 443 if (HasImmediateInput(instr, 0)) { |
| 441 __ push(i.InputImmediate(0)); | 444 __ push(i.InputImmediate(0)); |
| 442 } else { | 445 } else { |
| 443 __ push(i.InputOperand(0)); | 446 __ push(i.InputOperand(0)); |
| 444 } | 447 } |
| 445 break; | 448 break; |
| 446 case kIA32StoreWriteBarrier: { | 449 case kIA32StoreWriteBarrier: { |
| 447 Register object = i.InputRegister(0); | 450 Register object = i.InputRegister(0); |
| 448 Register index = i.InputRegister(1); | 451 Register index = i.InputRegister(1); |
| (...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1029 } | 1032 } |
| 1030 } | 1033 } |
| 1031 MarkLazyDeoptSite(); | 1034 MarkLazyDeoptSite(); |
| 1032 } | 1035 } |
| 1033 | 1036 |
| 1034 #undef __ | 1037 #undef __ |
| 1035 | 1038 |
| 1036 } // namespace compiler | 1039 } // namespace compiler |
| 1037 } // namespace internal | 1040 } // namespace internal |
| 1038 } // namespace v8 | 1041 } // namespace v8 |
| OLD | NEW |