Unified · Split
| @@ -2244,6 +2244,7 @@ ST_FUNC int type_size(CType *type, int *a) · 2243 unmodified lines | ||
| 2244 | 2244 | ST_FUNC void vla_runtime_type_size(CType *type, int *a) |
| 2245 | 2245 | { |
| 2246 | 2246 | if (type->t & VT_VLA) { |
| 2247 | + type_size(&type->ref->type, a); | |
| 2247 | 2248 | vset(&int_type, VT_LOCAL|VT_LVAL, type->ref->c); |
| 2248 | 2249 | } else { |
| 2249 | 2250 | vpushi(type_size(type, a)); |