summaryrefslogtreecommitdiff
path: root/src/binaryen-c.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* clean up raw pointer import->functionType, make it a Name like everything ↵Alon Zakai2017-02-171-1/+1
| | | | else (#915)
* Merge pull request #871 from WebAssembly/fix-c-api-unused-memAlon Zakai2017-01-051-0/+1
|\ | | | | Mark memory as existing when it is created in the C API
| * mark memory as existing when it is created in the C APIAlon Zakai (kripken)2017-01-041-0/+1
| |
* | Print long string in one call (#864)Loo Rong Jie2017-01-031-11/+11
|/
* More binary updates for 0xc (#733)Derek Schuff2016-10-031-0/+1
| | | | | | | | | | | | | | | Refine tables to explicitly exist or not. Previously they were printed or encoded if it had any segments, or an initial or max size. However tables can be defined but empty, so we had a special hack that defined an empty segment when we really just wanted an empty table. Now, just make the existence explicit. Update Function table encoding for 0xc (Table and Element sections) Add end opcodes after function bodies (these are consumed by getMaybeBlock with the same behavior that it had before when it reached the function end, so no explicit decode) Update call_indirect encoding for 0xc (no arity, call target is last)
* Refactor Import::Kind and Export::Kind into an ExternalKind enum class (#725)Alon Zakai2016-10-031-2/+2
|
* refactor wasm.h to remove numericIndex hacks, and move indexing to the parsersAlon Zakai2016-09-211-0/+1
|
* import type for globalsAlon Zakai2016-09-071-1/+1
|
* import kindsAlon Zakai2016-09-071-0/+1
|
* export kindsAlon Zakai2016-09-071-1/+7
|
* loops no longer have an out label and other upstream loop updatesAlon Zakai2016-09-071-6/+3
|
* add drop and tee expressionsAlon Zakai2016-09-071-2/+41
|
* offset support in tableAlon Zakai2016-08-151-2/+4
|
* support function table initial and max sizes, and new printing formatAlon Zakai2016-08-121-0/+1
|
* support expressions in segment offsetsAlon Zakai2016-08-121-4/+4
|
* Don't emit empty array literals in trace output (#631)Alon Zakai2016-07-131-6/+18
| | | | * don't emit empty array literals in trace output
* relooper tracing + fixesAlon Zakai2016-07-121-49/+40
|
* allow multiple tracesAlon Zakai2016-07-121-15/+24
|
* add a tracing option to the c api, which logs out a runnable program from c ↵Alon Zakai2016-07-121-13/+425
| | | | api calls
* clarify the local/var/param distinctionAlon Zakai2016-07-071-3/+3
|
* Relooper switch support (#617)Alon Zakai2016-07-021-2/+6
| | | | | | * support switches in relooper and c api * update relooper fuzzer for switches
* make creating functions and types parallelizable in c api (#603)Alon Zakai2016-06-261-2/+20
|
* add c api method to interpret a module, calling its start method (#601)Alon Zakai2016-06-251-0/+8
|
* add BinaryenExpressionPrint to c api (#599)Alon Zakai2016-06-241-0/+5
|
* make call_indirect type a name, so that it is not a dependency on the ↵Alon Zakai2016-06-031-4/+5
| | | | module, which would break consistency and make some parallel passes tricky (#568)
* Added static_cast to prevent direct conversion from subclasses to void*. (#502)MI3Guy2016-05-191-20/+20
|
* use separate internal opcodes for binary variantsAlon Zakai2016-05-181-33/+76
|
* use separate internal opcodes for unary variantsAlon Zakai2016-05-181-11/+22
|
* allow not providing a name for function types in c api (#501)Alon Zakai2016-05-131-4/+2
|
* show parse errors in c apiAlon Zakai2016-05-121-1/+2
|
* use exceptions consistently to report input errorsAlon Zakai2016-05-121-3/+5
|
* Replace NULL with nullptr. Quiet VS warnings. (#466)BSalita2016-05-111-1/+1
| | | Replace NULL with nullptr. Quiet Visual Studio 2015 optimizer warnings by prepending "!!".
* allow error handling in binary parsingAlon Zakai2016-05-091-1/+3
|
* Changed empty parameter functions in C API to void.John Bentley2016-05-071-2/+2
|
* add a return type parameter to call and call_import in the C API. we need it ↵Alon Zakai2016-05-061-2/+4
| | | | since we don't know the type while building functions
* add reading and writing binaries to C API (#443)Alon Zakai2016-05-051-0/+21
|
* add validation to the C api, and fix things that uncovered in the C API testsAlon Zakai2016-05-051-3/+9
|
* add optimization to c api, and so that we can find all passes in the c api ↵Alon Zakai2016-05-051-0/+8
| | | | library, make it dynamic
* Import emscripten's relooper, port it to the binaryen AST, and provide a C ↵Alon Zakai2016-05-051-0/+44
| | | | | API (#434) also ignore libstdc++ bug in ubsan
* Harmonize the internal opcodes with the binary format (#433)Alon Zakai2016-05-031-12/+22
| | | | | | * harmonize the internal opcodes with the binary format, so they clearly parallel, and also this helps us avoid needing the type to disambiguate * comment on GetLocal in C API
* kitchen sink test for c apiAlon Zakai2016-05-031-8/+11
|
* C API plus testAlon Zakai2016-05-021-0/+373