Skip to content

Commit

Permalink
fix: error where select0 returned too early
Browse files Browse the repository at this point in the history
  • Loading branch information
mnater committed Jan 9, 2022
1 parent a8d2396 commit 0244891
Show file tree
Hide file tree
Showing 208 changed files with 210 additions and 210 deletions.
Binary file modified lang/af/af.wasm
Binary file not shown.
6 changes: 3 additions & 3 deletions lang/af/src/hyphenEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,13 +316,13 @@ function select0(ith: i32, startByte: i32, endByte: i32): i32 {
do {
ith += run;
do {
if (bytePos > endByte) {
return 0;
}
dWord = ~load<u32>(bytePos);
dWord0Count = popcnt<i32>(dWord);
count += dWord0Count;
bytePos += 4;
if (bytePos > endByte) {
return 0;
}
} while (count < ith);
count -= dWord0Count;
bytePos -= 4;
Expand Down
Binary file modified lang/as/as.wasm
Binary file not shown.
6 changes: 3 additions & 3 deletions lang/as/src/hyphenEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,13 +316,13 @@ function select0(ith: i32, startByte: i32, endByte: i32): i32 {
do {
ith += run;
do {
if (bytePos > endByte) {
return 0;
}
dWord = ~load<u32>(bytePos);
dWord0Count = popcnt<i32>(dWord);
count += dWord0Count;
bytePos += 4;
if (bytePos > endByte) {
return 0;
}
} while (count < ith);
count -= dWord0Count;
bytePos -= 4;
Expand Down
Binary file modified lang/be/be.wasm
Binary file not shown.
6 changes: 3 additions & 3 deletions lang/be/src/hyphenEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,13 +316,13 @@ function select0(ith: i32, startByte: i32, endByte: i32): i32 {
do {
ith += run;
do {
if (bytePos > endByte) {
return 0;
}
dWord = ~load<u32>(bytePos);
dWord0Count = popcnt<i32>(dWord);
count += dWord0Count;
bytePos += 4;
if (bytePos > endByte) {
return 0;
}
} while (count < ith);
count -= dWord0Count;
bytePos -= 4;
Expand Down
Binary file modified lang/bg/bg.wasm
Binary file not shown.
6 changes: 3 additions & 3 deletions lang/bg/src/hyphenEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,13 +316,13 @@ function select0(ith: i32, startByte: i32, endByte: i32): i32 {
do {
ith += run;
do {
if (bytePos > endByte) {
return 0;
}
dWord = ~load<u32>(bytePos);
dWord0Count = popcnt<i32>(dWord);
count += dWord0Count;
bytePos += 4;
if (bytePos > endByte) {
return 0;
}
} while (count < ith);
count -= dWord0Count;
bytePos -= 4;
Expand Down
Binary file modified lang/bn/bn.wasm
Binary file not shown.
6 changes: 3 additions & 3 deletions lang/bn/src/hyphenEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,13 +316,13 @@ function select0(ith: i32, startByte: i32, endByte: i32): i32 {
do {
ith += run;
do {
if (bytePos > endByte) {
return 0;
}
dWord = ~load<u32>(bytePos);
dWord0Count = popcnt<i32>(dWord);
count += dWord0Count;
bytePos += 4;
if (bytePos > endByte) {
return 0;
}
} while (count < ith);
count -= dWord0Count;
bytePos -= 4;
Expand Down
Binary file modified lang/ca/ca.wasm
Binary file not shown.
6 changes: 3 additions & 3 deletions lang/ca/src/hyphenEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,13 +316,13 @@ function select0(ith: i32, startByte: i32, endByte: i32): i32 {
do {
ith += run;
do {
if (bytePos > endByte) {
return 0;
}
dWord = ~load<u32>(bytePos);
dWord0Count = popcnt<i32>(dWord);
count += dWord0Count;
bytePos += 4;
if (bytePos > endByte) {
return 0;
}
} while (count < ith);
count -= dWord0Count;
bytePos -= 4;
Expand Down
Binary file modified lang/cs/cs.wasm
Binary file not shown.
6 changes: 3 additions & 3 deletions lang/cs/src/hyphenEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,13 +316,13 @@ function select0(ith: i32, startByte: i32, endByte: i32): i32 {
do {
ith += run;
do {
if (bytePos > endByte) {
return 0;
}
dWord = ~load<u32>(bytePos);
dWord0Count = popcnt<i32>(dWord);
count += dWord0Count;
bytePos += 4;
if (bytePos > endByte) {
return 0;
}
} while (count < ith);
count -= dWord0Count;
bytePos -= 4;
Expand Down
Binary file modified lang/cy/cy.wasm
Binary file not shown.
6 changes: 3 additions & 3 deletions lang/cy/src/hyphenEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,13 +316,13 @@ function select0(ith: i32, startByte: i32, endByte: i32): i32 {
do {
ith += run;
do {
if (bytePos > endByte) {
return 0;
}
dWord = ~load<u32>(bytePos);
dWord0Count = popcnt<i32>(dWord);
count += dWord0Count;
bytePos += 4;
if (bytePos > endByte) {
return 0;
}
} while (count < ith);
count -= dWord0Count;
bytePos -= 4;
Expand Down
Binary file modified lang/da/da.wasm
Binary file not shown.
6 changes: 3 additions & 3 deletions lang/da/src/hyphenEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,13 +316,13 @@ function select0(ith: i32, startByte: i32, endByte: i32): i32 {
do {
ith += run;
do {
if (bytePos > endByte) {
return 0;
}
dWord = ~load<u32>(bytePos);
dWord0Count = popcnt<i32>(dWord);
count += dWord0Count;
bytePos += 4;
if (bytePos > endByte) {
return 0;
}
} while (count < ith);
count -= dWord0Count;
bytePos -= 4;
Expand Down
Binary file modified lang/de/de.wasm
Binary file not shown.
6 changes: 3 additions & 3 deletions lang/de/src/hyphenEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,13 +316,13 @@ function select0(ith: i32, startByte: i32, endByte: i32): i32 {
do {
ith += run;
do {
if (bytePos > endByte) {
return 0;
}
dWord = ~load<u32>(bytePos);
dWord0Count = popcnt<i32>(dWord);
count += dWord0Count;
bytePos += 4;
if (bytePos > endByte) {
return 0;
}
} while (count < ith);
count -= dWord0Count;
bytePos -= 4;
Expand Down
Binary file modified lang/el-monoton/el-monoton.wasm
Binary file not shown.
6 changes: 3 additions & 3 deletions lang/el-monoton/src/hyphenEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,13 +316,13 @@ function select0(ith: i32, startByte: i32, endByte: i32): i32 {
do {
ith += run;
do {
if (bytePos > endByte) {
return 0;
}
dWord = ~load<u32>(bytePos);
dWord0Count = popcnt<i32>(dWord);
count += dWord0Count;
bytePos += 4;
if (bytePos > endByte) {
return 0;
}
} while (count < ith);
count -= dWord0Count;
bytePos -= 4;
Expand Down
Binary file modified lang/el-polyton/el-polyton.wasm
Binary file not shown.
6 changes: 3 additions & 3 deletions lang/el-polyton/src/hyphenEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,13 +316,13 @@ function select0(ith: i32, startByte: i32, endByte: i32): i32 {
do {
ith += run;
do {
if (bytePos > endByte) {
return 0;
}
dWord = ~load<u32>(bytePos);
dWord0Count = popcnt<i32>(dWord);
count += dWord0Count;
bytePos += 4;
if (bytePos > endByte) {
return 0;
}
} while (count < ith);
count -= dWord0Count;
bytePos -= 4;
Expand Down
Binary file modified lang/en-gb/en-gb.wasm
Binary file not shown.
6 changes: 3 additions & 3 deletions lang/en-gb/src/hyphenEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,13 +316,13 @@ function select0(ith: i32, startByte: i32, endByte: i32): i32 {
do {
ith += run;
do {
if (bytePos > endByte) {
return 0;
}
dWord = ~load<u32>(bytePos);
dWord0Count = popcnt<i32>(dWord);
count += dWord0Count;
bytePos += 4;
if (bytePos > endByte) {
return 0;
}
} while (count < ith);
count -= dWord0Count;
bytePos -= 4;
Expand Down
Binary file modified lang/en-us/en-us.wasm
Binary file not shown.
6 changes: 3 additions & 3 deletions lang/en-us/src/hyphenEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,13 +316,13 @@ function select0(ith: i32, startByte: i32, endByte: i32): i32 {
do {
ith += run;
do {
if (bytePos > endByte) {
return 0;
}
dWord = ~load<u32>(bytePos);
dWord0Count = popcnt<i32>(dWord);
count += dWord0Count;
bytePos += 4;
if (bytePos > endByte) {
return 0;
}
} while (count < ith);
count -= dWord0Count;
bytePos -= 4;
Expand Down
Binary file modified lang/eo/eo.wasm
Binary file not shown.
6 changes: 3 additions & 3 deletions lang/eo/src/hyphenEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,13 +316,13 @@ function select0(ith: i32, startByte: i32, endByte: i32): i32 {
do {
ith += run;
do {
if (bytePos > endByte) {
return 0;
}
dWord = ~load<u32>(bytePos);
dWord0Count = popcnt<i32>(dWord);
count += dWord0Count;
bytePos += 4;
if (bytePos > endByte) {
return 0;
}
} while (count < ith);
count -= dWord0Count;
bytePos -= 4;
Expand Down
Binary file modified lang/es/es.wasm
Binary file not shown.
6 changes: 3 additions & 3 deletions lang/es/src/hyphenEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,13 +316,13 @@ function select0(ith: i32, startByte: i32, endByte: i32): i32 {
do {
ith += run;
do {
if (bytePos > endByte) {
return 0;
}
dWord = ~load<u32>(bytePos);
dWord0Count = popcnt<i32>(dWord);
count += dWord0Count;
bytePos += 4;
if (bytePos > endByte) {
return 0;
}
} while (count < ith);
count -= dWord0Count;
bytePos -= 4;
Expand Down
Binary file modified lang/et/et.wasm
Binary file not shown.
6 changes: 3 additions & 3 deletions lang/et/src/hyphenEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,13 +316,13 @@ function select0(ith: i32, startByte: i32, endByte: i32): i32 {
do {
ith += run;
do {
if (bytePos > endByte) {
return 0;
}
dWord = ~load<u32>(bytePos);
dWord0Count = popcnt<i32>(dWord);
count += dWord0Count;
bytePos += 4;
if (bytePos > endByte) {
return 0;
}
} while (count < ith);
count -= dWord0Count;
bytePos -= 4;
Expand Down
Binary file modified lang/eu/eu.wasm
Binary file not shown.
6 changes: 3 additions & 3 deletions lang/eu/src/hyphenEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,13 +316,13 @@ function select0(ith: i32, startByte: i32, endByte: i32): i32 {
do {
ith += run;
do {
if (bytePos > endByte) {
return 0;
}
dWord = ~load<u32>(bytePos);
dWord0Count = popcnt<i32>(dWord);
count += dWord0Count;
bytePos += 4;
if (bytePos > endByte) {
return 0;
}
} while (count < ith);
count -= dWord0Count;
bytePos -= 4;
Expand Down
Binary file modified lang/fi/fi.wasm
Binary file not shown.
6 changes: 3 additions & 3 deletions lang/fi/src/hyphenEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,13 +316,13 @@ function select0(ith: i32, startByte: i32, endByte: i32): i32 {
do {
ith += run;
do {
if (bytePos > endByte) {
return 0;
}
dWord = ~load<u32>(bytePos);
dWord0Count = popcnt<i32>(dWord);
count += dWord0Count;
bytePos += 4;
if (bytePos > endByte) {
return 0;
}
} while (count < ith);
count -= dWord0Count;
bytePos -= 4;
Expand Down
Binary file modified lang/fr/fr.wasm
Binary file not shown.
6 changes: 3 additions & 3 deletions lang/fr/src/hyphenEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,13 +316,13 @@ function select0(ith: i32, startByte: i32, endByte: i32): i32 {
do {
ith += run;
do {
if (bytePos > endByte) {
return 0;
}
dWord = ~load<u32>(bytePos);
dWord0Count = popcnt<i32>(dWord);
count += dWord0Count;
bytePos += 4;
if (bytePos > endByte) {
return 0;
}
} while (count < ith);
count -= dWord0Count;
bytePos -= 4;
Expand Down
Binary file modified lang/fur/fur.wasm
Binary file not shown.
6 changes: 3 additions & 3 deletions lang/fur/src/hyphenEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,13 +316,13 @@ function select0(ith: i32, startByte: i32, endByte: i32): i32 {
do {
ith += run;
do {
if (bytePos > endByte) {
return 0;
}
dWord = ~load<u32>(bytePos);
dWord0Count = popcnt<i32>(dWord);
count += dWord0Count;
bytePos += 4;
if (bytePos > endByte) {
return 0;
}
} while (count < ith);
count -= dWord0Count;
bytePos -= 4;
Expand Down
Binary file modified lang/ga/ga.wasm
Binary file not shown.
6 changes: 3 additions & 3 deletions lang/ga/src/hyphenEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,13 +316,13 @@ function select0(ith: i32, startByte: i32, endByte: i32): i32 {
do {
ith += run;
do {
if (bytePos > endByte) {
return 0;
}
dWord = ~load<u32>(bytePos);
dWord0Count = popcnt<i32>(dWord);
count += dWord0Count;
bytePos += 4;
if (bytePos > endByte) {
return 0;
}
} while (count < ith);
count -= dWord0Count;
bytePos -= 4;
Expand Down
Binary file modified lang/gl/gl.wasm
Binary file not shown.
6 changes: 3 additions & 3 deletions lang/gl/src/hyphenEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,13 +316,13 @@ function select0(ith: i32, startByte: i32, endByte: i32): i32 {
do {
ith += run;
do {
if (bytePos > endByte) {
return 0;
}
dWord = ~load<u32>(bytePos);
dWord0Count = popcnt<i32>(dWord);
count += dWord0Count;
bytePos += 4;
if (bytePos > endByte) {
return 0;
}
} while (count < ith);
count -= dWord0Count;
bytePos -= 4;
Expand Down
Binary file modified lang/gu/gu.wasm
Binary file not shown.
Loading

0 comments on commit 0244891

Please sign in to comment.