Relocate common tooling.

This commit is contained in:
Brad Nelson
2022-07-10 11:44:38 -07:00
parent dc65288423
commit a7f25d8819
3 changed files with 5 additions and 5 deletions

View File

@ -107,7 +107,7 @@ function create(name, opcode) {
i32[i32[g_heap>>2]>>2] = name.length; // length
i32[g_heap>>2] += 4;
i32[i32[g_heap>>2]>>2] = i32[i32[g_current]>>2]>>2]; // link
i32[i32[g_heap>>2]>>2] = i32[i32[i32[g_current]>>2]>>2]; // link
i32[g_heap>>2] += 4;
i32[i32[g_heap>>2]>>2] = 0; // flags