< prev index next >
src/cpu/x86/vm/c1_LinearScan_x86.cpp
Print this page
*** 812,823 ****
}
case lir_tan:
case lir_sin:
! case lir_cos:
! case lir_exp: {
// sin, cos and exp need two temporary fpu stack slots, so there are two temporary
// registers (stored in right and temp of the operation).
// the stack allocator must guarantee that the stack slots are really free,
// otherwise there might be a stack overflow.
assert(left->is_fpu_register(), "must be");
--- 812,822 ----
}
case lir_tan:
case lir_sin:
! case lir_cos: {
// sin, cos and exp need two temporary fpu stack slots, so there are two temporary
// registers (stored in right and temp of the operation).
// the stack allocator must guarantee that the stack slots are really free,
// otherwise there might be a stack overflow.
assert(left->is_fpu_register(), "must be");
< prev index next >