summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* allow not providing a name for function types in c api (#501)Alon Zakai2016-05-132-4/+3
|
* validation improvementsAlon Zakai2016-05-131-35/+36
|
* fix binary reinterpret opcode bugAlon Zakai2016-05-131-2/+2
|
* make reinterpret printing more preciseAlon Zakai2016-05-131-4/+4
|
* more validation checksAlon Zakai2016-05-131-30/+46
|
* Merge pull request #493 from WebAssembly/error-improvementsAlon Zakai2016-05-133-20/+62
|\ | | | | Error handling improvements
| * fix spurious validation errors on unreachable typesAlon Zakai2016-05-131-3/+5
| |
| * support new syntactic sugar of export names on functionsAlon Zakai2016-05-131-4/+19
| |
| * do not error on s-expr comments starting in stringsAlon Zakai2016-05-131-1/+1
| |
| * break type system fixes, avoid spurious errors on mismatched typesAlon Zakai2016-05-132-3/+9
| |
| * add line and col info in s-parsing errors, and fix an small bug made ↵Alon Zakai2016-05-131-9/+28
| | | | | | | | noticeable by that change
* | Fix the maximum memory size to be valid. (#492)Dan Gohman2016-05-133-4/+5
|/
* move console tool sources into src/tools (#490)Alon Zakai2016-05-125-0/+0
|
* Merge pull request #488 from WebAssembly/error_reportingAlon Zakai2016-05-128-48/+88
|\ | | | | 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-127-41/+40
| |
* | 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
|
* 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).
* 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-112-0/+63
|
* 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)
* 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
|
* refactor string to binary parsing in s-expression code so that we can use it ↵Alon Zakai2016-05-091-35/+44
| | | | in more places
* Be more careful when loading i64 in wasm-js glue, we had a bug where the ↵Alon Zakai2016-05-081-10/+13
| | | | bits were trampled before we read them (#460)
* use CMAKE_THREAD_LIBS_INIT as a target link library, which unbreaks breakage ↵Alon Zakai2016-05-071-0/+1
| | | | from #390 (#450)
* Merge pull request #454 from MI3Guy/masterAlon Zakai2016-05-072-4/+4
|\ | | | | Minor fixes for C API
| * Changed empty parameter functions in C API to void.John Bentley2016-05-072-4/+4
| |
* | 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
| |
* | Use more static libraries in the CMake build (#451)Derek Schuff2016-05-074-0/+33
|/ | | | | | | | | | | * 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
* add a return type parameter to call and call_import in the C API. we need it ↵Alon Zakai2016-05-063-4/+14
| | | | since we don't know the type while building functions
* comments in c api headerAlon Zakai2016-05-061-2/+4
|
* Fix BreakSeeker for switch default targets. (#447)Michael Bebenita2016-05-061-0/+1
|
* add reading and writing binaries to C API (#443)Alon Zakai2016-05-052-0/+28
|
* Merge pull request #439 from WebAssembly/c-api-moreAlon Zakai2016-05-054-6/+20
|\ | | | | Validation in C API