Unified · Split
| @@ -4802,13 +4802,12 @@ void save_reg(int r) · 4801 unmodified lines | ||
| 4802 | 4802 | r = p->r & VT_VALMASK; |
| 4803 | 4803 | /* store register in the stack */ |
| 4804 | 4804 | type = &p->type; |
| 4805 | −#ifndef TCC_TARGET_X86_64 | |
| 4806 | − if ((p->r & VT_LVAL) || | |
| 4805 | + if ((p->r & VT_LVAL) || | |
| 4807 | 4806 | (!is_float(type->t) && (type->t & VT_BTYPE) != VT_LLONG)) |
| 4808 | − type = &int_type; | |
| 4809 | −#else | |
| 4810 | − if (p->r & VT_LVAL) | |
| 4807 | +#ifdef TCC_TARGET_X86_64 | |
| 4811 | 4808 | type = &char_pointer_type; |
| 4809 | +#else | |
| 4810 | + type = &int_type; | |
| 4812 | 4811 | #endif |
| 4813 | 4812 | size = type_size(type, &align); |
| 4814 | 4813 | loc = (loc - size) & -align; |