(size: number)
| 220 | const visited = new Map<number, number>(); |
| 221 | |
| 222 | const allocTemp = (size: number) => { |
| 223 | const ptr = freePtr; |
| 224 | freePtr = (freePtr + size + 7) & ~7; |
| 225 | if (freePtr > tempBuffer.byteLength) { |
| 226 | throw new Error("GC Fatal: Fragmentation too high"); |
| 227 | } |
| 228 | return ptr; |
| 229 | }; |
| 230 | |
| 231 | const relocate = (oldPtr: number, type: number): number => { |
| 232 | if (oldPtr === 0) return 0; |
nothing calls this directly
no outgoing calls
no test coverage detected