summaryrefslogtreecommitdiff
path: root/src/shell-interface.h
Commit message (Collapse)AuthorAgeFilesLines
* ctor evaller (#982)Alon Zakai2017-04-281-57/+16
| | | | | Add wasm-ctor-eval, which evaluates functions at compile time - typically static constructor functions - and applies their effects into memory, saving work at startup. If we encounter something we can't evaluate at compile time in our interpreter, stop there. This is similar to ctor_evaller.py in emscripten (which was for asm.js).
* Wasm h to cpp (#926)jgravelle-google2017-03-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * Move WasmType function implementations to wasm.cpp * Move Literal methods to wasm.cpp * Reorder wasm.cpp shared constants back to top * Move expression functions to wasm.cpp * Finish moving things to wasm.cpp * Split out Literal into its own .h/.cpp. Also factor out common wasm-type module * Remove unneeded/transitive includes from wasm.h * Add comment to try/check methods * Rename tryX/checkX methods to getXOrNull * Add missing include that should fix appveyor build breakage * More appveyor
* Fully handle EM_ASM in s2wasm (#910)jgravelle-google2017-02-231-0/+1
| | | | | | | | | | | | * Fully handle EM_ASM in s2wasm * Iterate with size_ts, remember to erase from importsMap as well * Fix dot_s test EM_ASM signatures * Move Name out to its own file, support/name.h * Move removeImportsWithSubstring out of Module class
* Refactor Import::Kind and Export::Kind into an ExternalKind enum class (#725)Alon Zakai2016-10-031-2/+2
|
* error on putting spectest.print in a tableAlon Zakai2016-09-211-0/+4
|
* table parsing and executing fixesAlon Zakai2016-09-201-1/+2
|
* support spectest.globalAlon Zakai2016-09-201-1/+14
|
* use globals in asm2wasmAlon Zakai2016-09-071-3/+5
|
* call_indirect is now structural, so no need to pass the type name aroundAlon Zakai2016-09-071-2/+1
|
* add drop and tee expressionsAlon Zakai2016-09-071-1/+1
|
* offset support in tableAlon Zakai2016-08-151-0/+24
|
* support expressions in segment offsetsAlon Zakai2016-08-121-2/+3
|
* add shared-constants.h for wasm constantsAlon Zakai2016-06-261-0/+1
|
* refactor interpreter code to provide expression executors for both ↵Alon Zakai2016-06-181-1/+1
| | | | standalone and full funtime execution
* parse error detailsAlon Zakai2016-05-121-1/+0
|
* use exceptions consistently to report input errorsAlon Zakai2016-05-121-0/+5
|
* Introduce a separate type for linear memory addresses (#477)Derek Schuff2016-05-111-3/+3
| | | | | | | We've been using size_t (and other things) for addresses, which is generally wrong because it depends on the host, when it should in fact depend on the target. This is a partial fix for #278 (i.e. it's the right fix, I don't think it's applied quite everywhere yet).
* just use a simple vector in data segmentsAlon Zakai2016-04-271-3/+3
|
* Split construction, scanning, and building phases of S2WasmBuilder (#400)Derek Schuff2016-04-271-2/+1
| | | | | | | | | | | Instead of doing all of the S2Wasm work in the constructor, split construction, scanning (to determine implemented functions) and building of the wasm module. This allows the linker to get the symbol information (e.g. implemented functions) without having to build an entire module (which will be useful for archives) and to allow the linker to link a new object into the existing one by building the wasm module in place on the existing module.
* refactor shell interface into its own fileAlon Zakai2016-04-041-0/+180