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/ast/scopes.h" | 5 #include "src/ast/scopes.h" |
6 #include "src/compiler/code-generator.h" | 6 #include "src/compiler/code-generator.h" |
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/osr.h" | 10 #include "src/compiler/osr.h" |
(...skipping 756 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
767 break; | 767 break; |
768 case kIeee754Float64Log1p: | 768 case kIeee754Float64Log1p: |
769 ASSEMBLE_IEEE754_UNOP(log1p); | 769 ASSEMBLE_IEEE754_UNOP(log1p); |
770 break; | 770 break; |
771 case kIeee754Float64Log10: | 771 case kIeee754Float64Log10: |
772 ASSEMBLE_IEEE754_UNOP(log10); | 772 ASSEMBLE_IEEE754_UNOP(log10); |
773 break; | 773 break; |
774 case kIeee754Float64Log2: | 774 case kIeee754Float64Log2: |
775 ASSEMBLE_IEEE754_UNOP(log2); | 775 ASSEMBLE_IEEE754_UNOP(log2); |
776 break; | 776 break; |
| 777 case kIeee754Float64Pow: { |
| 778 MathPowStub stub(isolate(), MathPowStub::DOUBLE); |
| 779 __ CallStub(&stub); |
| 780 break; |
| 781 } |
777 case kIeee754Float64Sin: | 782 case kIeee754Float64Sin: |
778 ASSEMBLE_IEEE754_UNOP(sin); | 783 ASSEMBLE_IEEE754_UNOP(sin); |
779 break; | 784 break; |
780 case kIeee754Float64Tan: | 785 case kIeee754Float64Tan: |
781 ASSEMBLE_IEEE754_UNOP(tan); | 786 ASSEMBLE_IEEE754_UNOP(tan); |
782 break; | 787 break; |
783 case kMipsAdd: | 788 case kMipsAdd: |
784 __ Addu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); | 789 __ Addu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); |
785 break; | 790 break; |
786 case kMipsAddOvf: | 791 case kMipsAddOvf: |
(...skipping 1297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2084 padding_size -= v8::internal::Assembler::kInstrSize; | 2089 padding_size -= v8::internal::Assembler::kInstrSize; |
2085 } | 2090 } |
2086 } | 2091 } |
2087 } | 2092 } |
2088 | 2093 |
2089 #undef __ | 2094 #undef __ |
2090 | 2095 |
2091 } // namespace compiler | 2096 } // namespace compiler |
2092 } // namespace internal | 2097 } // namespace internal |
2093 } // namespace v8 | 2098 } // namespace v8 |
OLD | NEW |