| 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/ast/scopes.h" | 7 #include "src/ast/scopes.h" |
| 8 #include "src/compiler/code-generator-impl.h" | 8 #include "src/compiler/code-generator-impl.h" |
| 9 #include "src/compiler/gap-resolver.h" | 9 #include "src/compiler/gap-resolver.h" |
| 10 #include "src/compiler/node-matchers.h" | 10 #include "src/compiler/node-matchers.h" |
| (...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 654 break; | 654 break; |
| 655 case kIeee754Float64Atan2: | 655 case kIeee754Float64Atan2: |
| 656 ASSEMBLE_IEEE754_BINOP(atan2); | 656 ASSEMBLE_IEEE754_BINOP(atan2); |
| 657 break; | 657 break; |
| 658 case kIeee754Float64Log: | 658 case kIeee754Float64Log: |
| 659 ASSEMBLE_IEEE754_UNOP(log); | 659 ASSEMBLE_IEEE754_UNOP(log); |
| 660 break; | 660 break; |
| 661 case kIeee754Float64Log1p: | 661 case kIeee754Float64Log1p: |
| 662 ASSEMBLE_IEEE754_UNOP(log1p); | 662 ASSEMBLE_IEEE754_UNOP(log1p); |
| 663 break; | 663 break; |
| 664 case kIeee754Float64Log2: |
| 665 ASSEMBLE_IEEE754_UNOP(log2); |
| 666 break; |
| 667 case kIeee754Float64Log10: |
| 668 ASSEMBLE_IEEE754_UNOP(log10); |
| 669 break; |
| 664 case kIA32Add: | 670 case kIA32Add: |
| 665 if (HasImmediateInput(instr, 1)) { | 671 if (HasImmediateInput(instr, 1)) { |
| 666 __ add(i.InputOperand(0), i.InputImmediate(1)); | 672 __ add(i.InputOperand(0), i.InputImmediate(1)); |
| 667 } else { | 673 } else { |
| 668 __ add(i.InputRegister(0), i.InputOperand(1)); | 674 __ add(i.InputRegister(0), i.InputOperand(1)); |
| 669 } | 675 } |
| 670 break; | 676 break; |
| 671 case kIA32And: | 677 case kIA32And: |
| 672 if (HasImmediateInput(instr, 1)) { | 678 if (HasImmediateInput(instr, 1)) { |
| 673 __ and_(i.InputOperand(0), i.InputImmediate(1)); | 679 __ and_(i.InputOperand(0), i.InputImmediate(1)); |
| (...skipping 1336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2010 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; | 2016 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; |
| 2011 __ Nop(padding_size); | 2017 __ Nop(padding_size); |
| 2012 } | 2018 } |
| 2013 } | 2019 } |
| 2014 | 2020 |
| 2015 #undef __ | 2021 #undef __ |
| 2016 | 2022 |
| 2017 } // namespace compiler | 2023 } // namespace compiler |
| 2018 } // namespace internal | 2024 } // namespace internal |
| 2019 } // namespace v8 | 2025 } // namespace v8 |
| OLD | NEW |