This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Change indices types to unsined int (NFC)
ClosedPublic

Authored by aheejin on Nov 2 2018, 12:08 PM.

Details

Summary

This changes int types to unsigned int in a few places: function indices
and [[ https://github.com/llvm-mirror/llvm/blob/088dcea9b165b0e5929d0fc89dfc1200dc3912f1/include/llvm/BinaryFormat/Wasm.h#L265-L273 | wasm::Valtype ]] (which is unsigend int enum). Currently these
values cannot have negative values anyway, so this should not be a
functional change for now.

Diff Detail

Repository
rL LLVM

Event Timeline

aheejin created this revision.Nov 2 2018, 12:08 PM
aheejin edited the summary of this revision. (Show Details)Nov 2 2018, 12:09 PM
sbc100 accepted this revision.Nov 2 2018, 12:25 PM
This revision is now accepted and ready to land.Nov 2 2018, 12:25 PM
This revision was automatically updated to reflect the committed changes.