about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAriel Ben-Yehuda <arielb1@mail.tau.ac.il>2016-04-14 15:49:39 +0300
committerAriel Ben-Yehuda <ariel.byd@gmail.com>2016-05-03 18:30:10 +0300
commit73f39a026a5a4e7ac37eb4f4840a9cf25ac5d0a5 (patch)
tree5cd29bda4ff13408b1ef3fe0e8c17c8b44e15b20 /src/rustllvm/RustWrapper.cpp
parent3157691f963a86776cb7e6a7842f566032890aba (diff)
downloadrust-73f39a026a5a4e7ac37eb4f4840a9cf25ac5d0a5.tar.gz
rust-73f39a026a5a4e7ac37eb4f4840a9cf25ac5d0a5.zip
Short-cut Sized matching on ADTs
Put a constraint type on every ADT def, such that the ADT def is sized iff the constraint
type is, and use that in selection. This ignores types that are obviously sized.

This improves typeck performance by ~15%.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions