diff options
| author | Reid Kleckner <rnk@google.com> | 2017-04-13 23:12:13 +0000 |
|---|---|---|
| committer | Reid Kleckner <rnk@google.com> | 2017-04-13 23:12:13 +0000 |
| commit | f021fab2afdc3d9534dbddcccecf892986b9654b (patch) | |
| tree | cd67c5baeda9bf396894c99f325324a735cbf066 /llvm/lib/Target/WebAssembly/WebAssemblySubtarget.h | |
| parent | 9a016602e9246c5e76e7b8443ba968f35e7b0b88 (diff) | |
| download | bcm5719-llvm-f021fab2afdc3d9534dbddcccecf892986b9654b.tar.gz bcm5719-llvm-f021fab2afdc3d9534dbddcccecf892986b9654b.zip | |
[IR] Make getParamAttributes take argument numbers, not ArgNo+1
Add hasParamAttribute() and use it instead of hasAttribute(ArgNo+1,
Kind) everywhere.
The fact that the AttributeList index for an argument is ArgNo+1 should
be a hidden implementation detail.
NFC
llvm-svn: 300272
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblySubtarget.h')
0 files changed, 0 insertions, 0 deletions

