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 861 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
872 break; | 872 break; |
873 case kIeee754Float64Atan2: | 873 case kIeee754Float64Atan2: |
874 ASSEMBLE_IEEE754_BINOP(atan2); | 874 ASSEMBLE_IEEE754_BINOP(atan2); |
875 break; | 875 break; |
876 case kIeee754Float64Log: | 876 case kIeee754Float64Log: |
877 ASSEMBLE_IEEE754_UNOP(log); | 877 ASSEMBLE_IEEE754_UNOP(log); |
878 break; | 878 break; |
879 case kIeee754Float64Log1p: | 879 case kIeee754Float64Log1p: |
880 ASSEMBLE_IEEE754_UNOP(log1p); | 880 ASSEMBLE_IEEE754_UNOP(log1p); |
881 break; | 881 break; |
| 882 case kIeee754Float64Log2: |
| 883 ASSEMBLE_IEEE754_UNOP(log2); |
| 884 break; |
| 885 case kIeee754Float64Log10: |
| 886 ASSEMBLE_IEEE754_UNOP(log10); |
| 887 break; |
882 case kX64Add32: | 888 case kX64Add32: |
883 ASSEMBLE_BINOP(addl); | 889 ASSEMBLE_BINOP(addl); |
884 break; | 890 break; |
885 case kX64Add: | 891 case kX64Add: |
886 ASSEMBLE_BINOP(addq); | 892 ASSEMBLE_BINOP(addq); |
887 break; | 893 break; |
888 case kX64Sub32: | 894 case kX64Sub32: |
889 ASSEMBLE_BINOP(subl); | 895 ASSEMBLE_BINOP(subl); |
890 break; | 896 break; |
891 case kX64Sub: | 897 case kX64Sub: |
(...skipping 1467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2359 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; | 2365 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; |
2360 __ Nop(padding_size); | 2366 __ Nop(padding_size); |
2361 } | 2367 } |
2362 } | 2368 } |
2363 | 2369 |
2364 #undef __ | 2370 #undef __ |
2365 | 2371 |
2366 } // namespace compiler | 2372 } // namespace compiler |
2367 } // namespace internal | 2373 } // namespace internal |
2368 } // namespace v8 | 2374 } // namespace v8 |
OLD | NEW |