< prev index next >
src/cpu/x86/vm/c1_LinearScan_x86.cpp
Print this page
@@ -809,13 +809,11 @@
assert(sim()->stack_size() <= 7, "at least one stack slot must be free");
break;
}
- case lir_tan:
- case lir_sin:
- case lir_cos: {
+ case lir_tan: {
// 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 >