-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Closed
Description
emcc --version
emcc (Emscripten gcc/clang-like replacement) 1.38.33 (commit 963d839afa49c7496cfb3fe5427c11e29e190130)
I'm compiling with -g and no -O flags... and loading the .js/.wasm with import.
Stat uses a variable 'tempDouble', and tempI64 which don't exist.
I'm guessing it didn't show up as an error before because not 'use strict' which loading as a module implies?
doStat:function (func, path, buf) {
(tempI64 = [stat.size>>>0,(tempDouble=stat.size,(+(Math_abs(tempDouble))) >= 1.0 ? (tempDouble > 0.0 ? ((Math_min((+(Math_floor((tempDouble)/4294967296.0))), 4294967295.0))|0)>>>0 : (~~((+(Math_ceil((tempDouble - +(((~~(tempDouble)))>>>0))/4294967296.0)))))>>>0) : 0)],HEAP32[(((buf)+(40))>>2)]=tempI64[0],HEAP32[(((buf)+(44))>>2)]=tempI64[1]);
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels