diff options
| author | Davide Italiano <davide@freebsd.org> | 2019-08-08 03:15:48 +0000 |
|---|---|---|
| committer | Davide Italiano <davide@freebsd.org> | 2019-08-08 03:15:48 +0000 |
| commit | e04c62bb23625a2baccb5c52d1d1f372c41ce5c7 (patch) | |
| tree | 5aa7531c51b27516d84fb737e09ca2f9f87827f0 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 277583ec0ab2d411a3df06d3207ece9b18655d83 (diff) | |
[Materializer] Remove wrong SetSizeAndAlignmentFromType().
This function is unused. It's also wrong, because it computes
the size and the alignment of the type without asking the runtime,
so it doesn't work for any language that has one (e.g. swift).
One could consider re-implementing this passing an execution scope
context, and modifying GetTypeBitAlign() to do the right thing,
but given there are no uses, it's not really useful.
llvm-svn: 368249
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
