Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix build with gcc 7 (#957) | Morris Hafner | 2017-03-29 | 1 | -0/+1 |
| | | | | 1. Add a missing <functional> include 2. Put the // fallthrough comment after the closing bracket so the compiler does not emit a implicit fallthrough warning. | ||||
* | New binaryen.js (#922) | Alon Zakai | 2017-03-24 | 1 | -0/+4 |
| | | | New binaryen.js implementation, based on the C API underneath and with a JS-friendly API on top. See docs under docs/ for API details. | ||||
* | Fully handle EM_ASM in s2wasm (#910) | jgravelle-google | 2017-02-23 | 1 | -0/+58 |
| | | | | | | | | | | | | * 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 | ||||
* | optimize linear sums (#904) | Alon Zakai | 2017-02-16 | 1 | -1/+1 |
| | |||||
* | Remove unused captures to fix warnings/errors when compiling with Clang (#896) | Eric Holk | 2017-02-03 | 1 | -2/+1 |
| | |||||
* | more consistent placement of & and *, on the type (#848) | Alon Zakai | 2016-11-28 | 1 | -15/+15 |
| | |||||
* | Wrap description (#839) | Loo Rong Jie | 2016-11-28 | 3 | -5/+32 |
| | |||||
* | Fix Windows colors (#833) | Loo Rong Jie | 2016-11-11 | 1 | -3/+2 |
| | | | | * Fix Windows colors and update README.md | ||||
* | Use steady_clock to measure code execution time (#776) | Loo Rong Jie | 2016-10-17 | 1 | -3/+3 |
| | |||||
* | Fix crash when loading archive files, dereferencing iterator .end() is ↵ | juj | 2016-10-14 | 1 | -7/+3 |
| | | | | undefined behavior. (#769) | ||||
* | Fix crash on loading archives, firstRegularData member field was not ↵ | juj | 2016-10-13 | 1 | -1/+1 |
| | | | | initialized to null which caused dereferencing a garbage pointer. (#770) | ||||
* | ensure we create the OptimizeInstructions database on demand, avoiding ↵ | Alon Zakai | 2016-09-07 | 1 | -0/+18 |
| | | | | global ctors | ||||
* | if we don't recognize the platform in colors.h, just do nothing for colors | Alon Zakai | 2016-09-07 | 1 | -0/+9 |
| | |||||
* | Color support for Windows (#693) | Loo Rong Jie | 2016-09-07 | 2 | -8/+34 |
| | |||||
* | Replace std::unique<T>(new T()) with make_unique<T>(). | Logan Chien | 2016-08-26 | 1 | -3/+4 |
| | | | | | | | | | | | | | | | | This commit modernize the code base by replacing: std::unique_ptr<T>(new T(...)) with: make_unique<T>(...) or: wasm::make_unique<T>(...) This is a step closer to adopt C++14 std::make_unique<T>(...). | ||||
* | add support for symbol assignments, closes #4422 (#615) | Dominic Chen | 2016-07-11 | 1 | -1/+1 |
| | | | Adds support for aliases to objects, to go along with the existing support for aliases to functions. | ||||
* | Build fixes/workarounds to support Visual Studio 2013 build, which has ↵ | juj | 2016-06-21 | 3 | -3/+4 |
| | | | | trouble with some new C++11 constructs. (#581) | ||||
* | use WASM_UNUSED in some places to fix compiler warning/error on unused ↵ | Alon Zakai | 2016-06-08 | 1 | -0/+2 |
| | | | | variables we only use in asserts (#579) | ||||
* | refactor a getNumCores method | Alon Zakai | 2016-06-02 | 2 | -5/+12 |
| | |||||
* | add hash utility, and support for hashing and comparing expressions | Alon Zakai | 2016-05-28 | 1 | -0/+39 |
| | |||||
* | tweak learning index picking | Alon Zakai | 2016-05-17 | 1 | -2/+1 |
| | |||||
* | add genetic learner | Alon Zakai | 2016-05-17 | 1 | -0/+113 |
| | |||||
* | add timer class | Alon Zakai | 2016-05-16 | 1 | -0/+55 |
| | |||||
* | Fix Visual Studio 2015 warnings about casting from double to int32_t in ↵ | BSalita | 2016-05-12 | 1 | -2/+2 |
| | | | | safe_integer.cpp (#480) | ||||
* | Fix Visual Studio 2015 C++ warning about negating unsigned value by adding ↵ | BSalita | 2016-05-11 | 1 | -4/+4 |
| | | | | typename U in bits.h (#471) | ||||
* | use CMAKE_THREAD_LIBS_INIT as a target link library, which unbreaks breakage ↵ | Alon Zakai | 2016-05-07 | 1 | -0/+1 |
| | | | | from #390 (#450) | ||||
* | Use more static libraries in the CMake build (#451) | Derek Schuff | 2016-05-07 | 1 | -0/+10 |
| | | | | | | | | | | | * 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 | ||||
* | make print flags in archive.cpp nicer (#437) | Alon Zakai | 2016-05-05 | 1 | -2/+2 |
| | |||||
* | fix archive.cpp on 32-bit | Alon Zakai | 2016-05-05 | 1 | -1/+1 |
| | |||||
* | [Linker] Handle archive files | Derek Schuff | 2016-05-05 | 2 | -0/+344 |
| | | | | | | | | Add a class to parse archive files. Support linking archive files, with archive semantics (i.e. an archive member is linked in if it satisfies an undefined reference). Archive files must be gnu-format archives containing .s files. Add tests for linking semantics. | ||||
* | Fix signed integer overflow UB (#430) | JF Bastien | 2016-05-03 | 1 | -1/+1 |
| | | | This puts us back where #404 wanted to be: all UB that ubsan knows about now causes an abort. This ins't to say that it's all gone, merely that our tests don't trigger any more UB which ubsan knows how to find :-) | ||||
* | Fix {i32,i64}.trunc_{s,u}/{f32,f64} in interpreter (#421) | Ben Smith | 2016-05-02 | 2 | -0/+102 |
| | | | | Check the binary representation of the float instead of converting it to a float first. | ||||
* | Changed type of flags to fix Visual Studio 2015 error (#418) | BSalita | 2016-04-30 | 1 | -1/+1 |
| | | | Changed type of flags (line 26) in read_file() from auto to std::ios_base::openmode to fix Visual Studio 2015 error. | ||||
* | Add missing algorithm and string headers | JF Bastien | 2016-04-23 | 1 | -0/+2 |
| | | | As in #382. | ||||
* | Merge pull request #377 from WebAssembly/zero_x_b | Alon Zakai | 2016-04-21 | 1 | -1/+1 |
|\ | | | | | More 0xb work | ||||
| * | fix file size for binary files read | Alon Zakai | 2016-04-21 | 1 | -1/+1 |
| | | |||||
* | | Move wasm-linker into its own cpp file (#375) | Derek Schuff | 2016-04-21 | 1 | -0/+4 |
|/ | | | | | | | Still making things nicer for #370 Pulling wasm-linker into its own file also necessitated pulling asm_v_wasm.h into a cpp file. It goes into a new lib directory, src/asmjs. No actual code changes in this PR. | ||||
* | Move Fatal into utilities.h (#376) | Derek Schuff | 2016-04-21 | 1 | -0/+18 |
| | | | | | Follow-on from #372. Probably we should do even better for error handling, and that might mean a cpp file in support, but for now this is a small improvement. | ||||
* | Factor linker-related functionality of S2WasmBuilder into its own class (#372) | Derek Schuff | 2016-04-21 | 1 | -0/+6 |
| | | | | | This is the first of a couple of refactorings in for #370 No functionality change, and minimal code change to make it work. | ||||
* | fix ThreadPool::size, we don't have any thread objects created if there is ↵ | Alon Zakai | 2016-04-18 | 1 | -1/+1 |
| | | | | just one core, since then we run it all on the main thread anyhow | ||||
* | allow limiting # of cores in thread pool, useful for debugging | Alon Zakai | 2016-04-18 | 1 | -0/+3 |
| | |||||
* | Function parallelism (#343) | Alon Zakai | 2016-04-15 | 2 | -0/+288 |
| | | | | * allow traversals to mark themselves as function-parallel, in which case we run them using a thread pool. also mark some thread-safety risks (interned strings, arena allocators) with assertions they modify only on the main thread | ||||
* | Properly align the stack pointer | Derek Schuff | 2016-04-06 | 1 | -0/+13 |
| | | | | | | | | | | | | * Properly align the stack pointer By default (if no global base is given) the global base is 1, which seems wrong. In this case the stack pointer gets an address of 1, which is unaligned and definitely wrong. So, start the global base at 0 instead of 1 by default and align the stack pointer. Also factor allocation of statics into a function. * unconditionally allocate stack pointer; explicitly reserve address 0 | ||||
* | refactor file flags into enums | Alon Zakai | 2016-03-31 | 2 | -12/+24 |
| | |||||
* | set the binary bit on files we need to open in binary mode | Alon Zakai | 2016-03-31 | 2 | -11/+16 |
| | |||||
* | Repair broken file-size check | pjuftring | 2016-03-31 | 1 | -1/+1 |
| | |||||
* | streampos may be signed on some platforms | Alon Zakai | 2016-03-28 | 1 | -2/+2 |
| | |||||
* | Merge branch 'vs2015_fixes' of https://github.com/juj/binaryen into vs2015_fixes | Alon Zakai | 2016-03-28 | 1 | -2/+8 |
|\ | | | | | | | | | Conflicts: src/support/safe_integer.cpp | ||||
| * | Use std::numeric_limits<uint32_t>::max() instead of 0xFFFFFFFF. | Jukka Jylänki | 2016-03-28 | 1 | -2/+3 |
| | | |||||
| * | Also clean up Visual Studio build warning in wasm::toSInteger32 for ↵ | Jukka Jylänki | 2016-03-28 | 1 | -1/+1 |
| | | | | | | | | double->int32_t cast. |