| 499 | |
| 500 | |
| 501 | static lu_mem traverseCclosure (global_State *g, CClosure *cl) { |
| 502 | int i; |
| 503 | for (i = 0; i < cl->nupvalues; i++) /* mark its upvalues */ |
| 504 | markvalue(g, &cl->upvalue[i]); |
| 505 | return sizeCclosure(cl->nupvalues); |
| 506 | } |
| 507 | |
| 508 | /* |
| 509 | ** open upvalues point to values in a thread, so those values should |