+ added a missing 'br 1' instruction in the code, generated by

GenerateCode_InitSharedMemory. This should fix the loading error in browsers,
  when using multithreading.
This commit is contained in:
Nikolay Nikolov 2024-10-31 22:53:35 +02:00
parent 59a1199110
commit 800fb6624e

View File

@ -5961,6 +5961,8 @@ implementation
Sec.writeUInt32BE($fe000200);
{ drop }
Sec.writeUInt8($1A);
{ br 1 }
Sec.writeUInt16BE($0C01);
{ end }
Sec.writeUInt8($0B);
{ i32.const $InitFlag }