equal
deleted
inserted
replaced
812 } |
812 } |
813 |
813 |
814 |
814 |
815 case lir_tan: |
815 case lir_tan: |
816 case lir_sin: |
816 case lir_sin: |
817 case lir_cos: |
817 case lir_cos: { |
818 case lir_exp: { |
|
819 // sin, cos and exp need two temporary fpu stack slots, so there are two temporary |
818 // sin, cos and exp need two temporary fpu stack slots, so there are two temporary |
820 // registers (stored in right and temp of the operation). |
819 // registers (stored in right and temp of the operation). |
821 // the stack allocator must guarantee that the stack slots are really free, |
820 // the stack allocator must guarantee that the stack slots are really free, |
822 // otherwise there might be a stack overflow. |
821 // otherwise there might be a stack overflow. |
823 assert(left->is_fpu_register(), "must be"); |
822 assert(left->is_fpu_register(), "must be"); |