| 1091 | } |
| 1092 | |
| 1093 | DecTable* NewTable(int r, int b, int c, int pc) { |
| 1094 | auto self = new DecTable(); |
| 1095 | self->super.prev = nullptr; |
| 1096 | self->super.next = nullptr; |
| 1097 | InitList(&(self->array)); |
| 1098 | InitList(&(self->keyed)); |
| 1099 | self->reg = r; |
| 1100 | self->arraySize = luaO_fb2int(b); |
| 1101 | self->keyedSize = luaO_fb2int(c); |
| 1102 | self->pc = pc; |
| 1103 | return self; |
| 1104 | } |
| 1105 | |
| 1106 | void StartTable(Function* F, int r, int b, int c, int pc) { |
| 1107 | auto tbl = NewTable(r, b, c, pc); |
no test coverage detected