summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #488 from WebAssembly/error_reportingAlon Zakai2016-05-129-49/+89
|\ | | | | Better error reporting
| * show parse errors in wasm-dis and wasm-asAlon Zakai2016-05-122-8/+18
| |
| * show parse errors in c apiAlon Zakai2016-05-121-1/+2
| |
| * show parse errors in shellAlon Zakai2016-05-121-3/+7
| |
| * parse error detailsAlon Zakai2016-05-124-23/+49
| |
| * use exceptions consistently to report input errorsAlon Zakai2016-05-128-42/+41
| |
* | Use a class with implicit overflow checks for Address (#486)Derek Schuff2016-05-124-15/+36
|/ | | | It includes implicit conversion from u64 and implicit conversion to address_t. This makes it easier to use without ugly casting and but still gets the overflow checks.
* Fix Visual Studio 2015 warnings about casting from double to int32_t in ↵BSalita2016-05-121-2/+2
| | | | safe_integer.cpp (#480)
* Fix VC warning in s2wasm.h (#481)BSalita2016-05-121-1/+1
|
* update spec tests (#478)Alon Zakai2016-05-111-0/+0
|
* Introduce a separate type for linear memory addresses (#477)Derek Schuff2016-05-116-62/+66
| | | | | | | 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).
* Update waterfall and torture tests to 6423 (#476)Derek Schuff2016-05-11477-36697/+37276
|
* VS warning fix in c-api-kitchen-sink.c, double constants shouldn't be used ↵BSalita2016-05-111-5/+4
| | | | as float args (#473)
* Fix Visual Studio 2015 C++ warning about negating unsigned value by adding ↵BSalita2016-05-111-4/+4
| | | | typename U in bits.h (#471)
* Pass sort comparison function arguments by const-reference (#472)Derek Schuff2016-05-111-3/+3
| | | Fixes build failure with libstdc++ 4.8
* Fix VS warning in ast_utils.h (#469)BSalita2016-05-111-1/+1
|
* Fix VS warning in wasm-validator.h (#468)BSalita2016-05-111-1/+1
|
* Fix VS warning in Relooper.h (#467)BSalita2016-05-111-1/+1
|
* 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 "!!".
* Change NULL to nullptr. Quiet Visual C++ 2015 optimizer errors by using ↵BSalita2016-05-111-6/+6
| | | | "!!". (#465)
* Add a pass to order functions by their use frequency. (#452)Michael Bebenita2016-05-114-0/+84
|
* remove no longer supported wasm2wasm tool from readmeAlon Zakai2016-05-111-1/+0
|
* use an int32_t for BinaryenLiteral in the C API, simpler and good enough ↵Alon Zakai2016-05-101-1/+1
| | | | since we translate anyhow (#462)
* Merge pull request #461 from WebAssembly/spec-updateAlon Zakai2016-05-096-56/+76
|\ | | | | Spec test update
| * add error handling for binary errors in new spec testAlon Zakai2016-05-091-7/+7
| |
| * allow error handling in binary parsingAlon Zakai2016-05-094-4/+9
| |
| * parse binary modules encoded in wasts that arrive in piecesAlon Zakai2016-05-091-8/+9
| |
| * allow appending in stringToBinaryAlon Zakai2016-05-091-5/+7
| |
| * parse binary modules encoded in watsAlon Zakai2016-05-091-0/+14
| |
| * remove wasm2wasm from the build, which was no longer tested and is no longer ↵Alon Zakai2016-05-091-11/+0
| | | | | | | | maintained
| * refactor string to binary parsing in s-expression code so that we can use it ↵Alon Zakai2016-05-091-35/+44
| | | | | | | | in more places
| * update spec testsAlon Zakai2016-05-091-0/+0
|/
* Be more careful when loading i64 in wasm-js glue, we had a bug where the ↵Alon Zakai2016-05-085-9236/+13068
| | | | bits were trampled before we read them (#460)
* use CMAKE_THREAD_LIBS_INIT as a target link library, which unbreaks breakage ↵Alon Zakai2016-05-072-3/+1
| | | | from #390 (#450)
* fix relooper fuzz testcase to be valid old-style c (#459)Alon Zakai2016-05-071-6/+9
|
* rename binaryen-c library to binaryen (#458)Alon Zakai2016-05-073-5/+5
|
* Merge pull request #454 from MI3Guy/masterAlon Zakai2016-05-073-4/+5
|\ | | | | Minor fixes for C API
| * Changed empty parameter functions in C API to void.John Bentley2016-05-072-4/+4
| |
| * Added additional files to gitignore.John Bentley2016-05-071-0/+1
| |
* | use atomics on MixedArena list generation instead of locking (#456)Alon Zakai2016-05-071-15/+31
| |
* | fix block finalize(type) (#457)Alon Zakai2016-05-071-1/+1
| |
* | remove obsolete comment from relooper fuzzerAlon Zakai2016-05-071-1/+1
| |
* | Use more static libraries in the CMake build (#451)Derek Schuff2016-05-077-71/+53
|/ | | | | | | | | | | * Factor passes and emscripten-optimizer into static libs This removes the redundancies from the source sets in the main CMakeLists.txt. * Make passes an object lib * Use static libs with --whole-archive because Travis has old cmake
* relooper fuzzing improvements (#453)Alon Zakai2016-05-061-15/+22
|
* Merge pull request #449 from WebAssembly/fuzz-relooperAlon Zakai2016-05-068-29/+857
|\ | | | | Fuzz the relooper through the c api
| * add a fuzzer for the relooper through the C APIAlon Zakai2016-05-063-0/+804
| |
| * add a return type parameter to call and call_import in the C API. we need it ↵Alon Zakai2016-05-065-27/+49
| | | | | | | | since we don't know the type while building functions
| * comments in c api headerAlon Zakai2016-05-061-2/+4
|/
* Use rpath instead of LD_LIBRARY_PATH for shared object use (#448)Derek Schuff2016-05-063-22/+23
| | | | | | | | Use the -rpath linker flag to locate libbinaryen-c.so instead of injecting paths into the user's LD_LIBRARY_PATH Also Link libsupport and libasmjs into libbinaryen-c Fixes #444
* using find_package(Threads) for setting the compilation flags (#390)Adam Smaza2016-05-061-2/+7
|