Assemble kernel on the client #1
4
asm.js
4
asm.js
@@ -1136,10 +1136,10 @@ export class Assembler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
le(value, count) {
|
le(value, count) {
|
||||||
let bytes = []
|
const bytes = []
|
||||||
while (value != 0) {
|
while (value != 0) {
|
||||||
bytes.push(value & 0xff);
|
bytes.push(value & 0xff);
|
||||||
value >>= 8;
|
value >>>= 8;
|
||||||
}
|
}
|
||||||
if (count != undefined) {
|
if (count != undefined) {
|
||||||
while (bytes.length < count)
|
while (bytes.length < count)
|
||||||
|
|||||||
Reference in New Issue
Block a user