summaryrefslogtreecommitdiff
path: root/src/js/wasm.js-post.js
Commit message (Collapse)AuthorAgeFilesLines
* Optimize precise mode integer ops (#907)Alon Zakai2017-02-161-351/+0
| | | | | | * improve precise integer operations: call into a wasm function to do the possibly-trapping div/rem, which handles the corner cases, instead of an ffi. also fix a bug in the existing parallel 64-bit code for this * remove no longer needed wasm.js-post.js file (it moved into emscripten repo)
* Merge pull request #859 from WebAssembly/linkingAlon Zakai2016-12-271-1/+7
|\ | | | | Dynamic linking
| * export the wasm table on ModuleAlon Zakai2016-12-071-0/+1
| |
| * use wasmMaxTableSizeAlon Zakai2016-12-071-1/+6
| |
* | use exported static base and bump (#853)Alon Zakai2016-12-061-2/+2
|/
* Run wasm natively by default, no fallbacks to interpreting (#838)Alon Zakai2016-11-111-2/+2
| | | | | | * run wasm natively by default, no fallbacks to interpreting * improve error message, suggesting people add methods if they want more
* show a warning with guidance when a memory size incompatibility issue makes ↵Alon Zakai2016-11-101-0/+3
| | | | wasm compilation fail (#834)
* handle memory growth with native wasm support: the result of grow_memory ↵Alon Zakai2016-10-111-2/+12
| | | | tells us if it succeeded, and then the new buffer can be found on the Memory object
* wasmTableSize of 0 is allowedAlon Zakai2016-10-111-1/+2
|
* refactor memoryBase and tableBase init to a shared location, so it affects ↵Alon Zakai2016-10-111-7/+7
| | | | native builds too
* use wasmTableSize when providedAlon Zakai2016-10-111-1/+1
|
* use 0xc Memory and Table in JS glue (#752)Alon Zakai2016-10-071-5/+18
|
* Use new WebAssembly API (#724)Alon Zakai2016-10-031-2/+2
| | | | | | * use new WebAssembly.Instance/Module API * detect presence of wasm with WebAssembly object
* import memoryBase and tableBaseAlon Zakai2016-09-071-2/+5
|
* import tableAlon Zakai2016-09-071-1/+4
|
* import memory #684Alon Zakai2016-09-071-1/+6
|
* refactor reallocBuffer assignment location, it is not technically part of ↵Alon Zakai2016-09-071-6/+8
| | | | mergeMemory
* add asm2wasm option to import a mem init fileAlon Zakai2016-09-071-2/+9
| | | | | | | | apply memory segments only if there isn't a memory initializer (which we need for asmjs and asm2wasm modes) use wasm-opt to check recreated wasts for validity, as wasm-shell would try to execute them add testing for combined modes like asmjs,interpret-binary
* use globals in asm2wasmAlon Zakai2016-09-071-28/+0
|
* emit safe calls for i32 div/rem when in precise mode in asm2wasm, as they ↵Alon Zakai2016-07-141-0/+12
| | | | can trap (#637)
* make wasm.js safe in closure compiler (#438)Alon Zakai2016-05-051-1/+1
|
* fall back from wasm compilation errors, and add loggingAlon Zakai2016-04-281-3/+12
|
* refactor js/wasm glue to defer the wasm/wasm-polyfill/asmjs-fallback as late ↵Alon Zakai2016-04-281-96/+100
| | | | as possible. this lets us recover from wasm compilation failures and still do a fallback method
* fix reallocBuffer to send growWasmMemory a size in pagesAlon Zakai2016-04-011-1/+4
|
* if Module.asm is already set, use thatAlon Zakai2016-03-241-1/+4
|
* note when we are using wasmAlon Zakai2016-03-231-0/+2
|
* quote strings for closure compilerAlon Zakai2016-03-231-4/+4
|
* fix memory growth #270Alon Zakai2016-03-221-10/+9
|
* improve method namesAlon Zakai2016-03-181-15/+15
|
* finish wasm-binary method and update emscriptenAlon Zakai2016-03-121-3/+8
|
* refactor wasm.js and prepare for loading and interpreting binariesAlon Zakai2016-03-121-22/+37
|
* log failures in wasm/js integrationAlon Zakai2016-03-111-4/+16
|
* check for WasmJS in polyfill glueAlon Zakai2016-03-111-0/+2
|
* support a comma-separated list of methods in wasm/js integrationAlon Zakai2016-03-111-49/+83
|
* fix imports when arriving from wasm backend, which does not prefixAlon Zakai2016-03-091-0/+17
|
* use .exportsAlon Zakai2016-03-091-2/+2
|
* move to a cleaner way of emcc.py integrating with wasm.js-post.jsAlon Zakai2016-03-081-5/+9
|
* assume wasm binaries were preloaded on the web, where we lack sync binary readsAlon Zakai2016-03-061-1/+8
|
* warn when we should grow wasm memory in mergeMemoryAlon Zakai2016-03-051-1/+3
|
* fix global.Math importsAlon Zakai2016-03-051-1/+1
|
* place NaN and Infinity on globalAlon Zakai2016-03-041-1/+5
|
* send a typed array to instantiateMemoryAlon Zakai2016-03-041-1/+1
|
* move WasmTypes in integrateWasmJS to the right placeAlon Zakai2016-03-041-8/+8
|
* pass buffer to instantiateModuleAlon Zakai2016-03-041-1/+1
|
* WASM => WasmAlon Zakai2016-03-041-8/+2
|
* use lookupImport directlyAlon Zakai2016-03-041-1/+1
|
* move to more unification of import handling in interpreter and native pathsAlon Zakai2016-03-041-38/+28
|
* support memory segments in wasm modules, which we get if the wasm backend ↵Alon Zakai2016-03-041-2/+4
| | | | was used
* fix providedTotalMemory setting, must be before it is usedAlon Zakai2016-03-041-2/+2
|
* fix mergeMemoryAlon Zakai2016-03-041-4/+6
|