hotspot/src/cpu/x86/vm/c1_LinearScan_x86.cpp
changeset 33089 f4e956ed8b43
parent 24424 2658d7834c6e
child 33465 6063f28a6efb
equal deleted inserted replaced
33088:34fe49ecee13 33089:f4e956ed8b43
   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");