about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorMarvin Löbel <loebel.marvin@gmail.com>2014-08-14 01:02:31 +0200
committerMarvin Löbel <loebel.marvin@gmail.com>2014-08-16 21:13:39 +0200
commit13079c1a85c2f3391966cc108a48f2313596d78d (patch)
tree0a3e884a73861eb5357d1108b95139e745896377 /src/rustllvm/RustWrapper.cpp
parent78ec3904b443c818d9f83e837ca13e5f197db740 (diff)
downloadrust-13079c1a85c2f3391966cc108a48f2313596d78d.tar.gz
rust-13079c1a85c2f3391966cc108a48f2313596d78d.zip
Optimized IR generation for UTF-8 and UTF-16 encoding
- Both can now be inlined and constant folded away
- Both can no longer cause failure
- Both now return an `Option` instead

Removed debug `assert!()`s over the valid ranges of a `char`
- It affected optimizations due to unwinding
- Char handling is now sound enought that they became uneccessary
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions