diff options
author | Wouter van Oortmerssen <aardappel@gmail.com> | 2019-02-04 18:03:11 +0000 |
---|---|---|
committer | Wouter van Oortmerssen <aardappel@gmail.com> | 2019-02-04 18:03:11 +0000 |
commit | 0b3cf247c47e0ae718a5ff28195407f35f8523ac (patch) | |
tree | 24670b4f2bcff2f5a5adf8e572e41912a5f094e7 /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp | |
parent | 79e33171d6aed199f08a172ac41bd39f8f3a35b4 (diff) | |
download | llvm-0b3cf247c47e0ae718a5ff28195407f35f8523ac.zip llvm-0b3cf247c47e0ae718a5ff28195407f35f8523ac.tar.gz llvm-0b3cf247c47e0ae718a5ff28195407f35f8523ac.tar.bz2 |
[WebAssembly] Make segment/size/type directives optional in asm
Summary:
These were "boilerplate" that repeated information already present
in .functype and end_function, that needed to be repeated to Please
the particular way our object writing works, and missing them would
generate errors.
Instead, we generate the information for these automatically so the
user can concern itself with writing more canonical wasm functions
that always work as expected.
Reviewers: dschuff, sbc100
Subscribers: jgravelle-google, aheejin, sunfish, llvm-commits
Differential Revision: https://reviews.llvm.org/D57546
llvm-svn: 353067
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions