summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorJF Bastien <jfb@google.com>2015-07-31 21:04:18 +0000
committerJF Bastien <jfb@google.com>2015-07-31 21:04:18 +0000
commit4a2d56044f966007ec76519d2998f5d687aa16fc (patch)
tree378c20eb334a8fbee3abf73a135081f4f3b86ce8 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentc18daf29ae8ca5edcceea7270dbf4b7bc682ca48 (diff)
WebAssembly: handle `ret void`.
Summary: Use -1 as numoperands for the return SDTypeProfile, denoting that return is variadic. Note that the patterns in InstrControl.td still need to match the inputs, so this ins't an "anything goes" variadic on ret! The next step will be to handle other local types (not just int32). Reviewers: sunfish Subscribers: llvm-commits, jfb Differential Revision: http://reviews.llvm.org/D11692 llvm-svn: 243783
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions