| commit | 3acb187d95a8cbe1941459a9c6fb62cc5d44b1e5 | [log] [tgz] |
|---|---|---|
| author | Dan Gohman <dan433584@gmail.com> | Mon Oct 24 23:27:49 2016 +0000 |
| committer | Dan Gohman <dan433584@gmail.com> | Mon Oct 24 23:27:49 2016 +0000 |
| tree | 450f11c44d1568ef9e344e5163d34bc4d305250b | |
| parent | 8b38ffaa986a06a6bdbd243b26eacc46ce9e5889 [diff] |
[WebAssembly] Implement more WebAssembly binary encoding. This changes locals from being declared by the emitLocal hook in WebAssemblyTargetStreamer, rather than with an instruction. After exploring the infastructure in LLVM more, this seems to make more sense since declaring locals doesn't use an encoded opcode. This also adds more 0xd opcodes, type encodings, and miscellaneous binary encoding bits. llvm-svn: 285040