summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/WebAssembly/WebAssemblyCallIndirectFixup.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [WebAssembly] Basic support for Wasm object file encoding.Dan Gohman2017-02-241-6/+19
| | | | | | | | | With the "wasm32-unknown-unknown-wasm" triple, this allows writing out simple wasm object files, and is another step in a larger series toward migrating from ELF to general wasm object support. Note that this code and the binary format itself is still experimental. llvm-svn: 296190
* [WebAssembly] Add immediate fields to call_indirect and memory operators.Dan Gohman2016-10-251-2/+5
| | | | | | | call_indirect, grow_memory, and current_memory now have immediate operands in the 0xd binary encoding. llvm-svn: 285085
* [WebAssembly] Fix for 0xc call_indirect changesDerek Schuff2016-10-211-0/+117
Summary: Need to reorder the operands to have the callee as the last argument. Adds a pseudo-instruction, and a pass to lower it into a real call_indirect. This is the first of two options for how to fix the problem. Reviewers: dschuff, sunfish Subscribers: jfb, beanz, mgorny, llvm-commits Differential Revision: https://reviews.llvm.org/D25708 llvm-svn: 284840
OpenPOWER on IntegriCloud