about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorJed Davis <jld@panix.com>2014-01-09 22:24:31 -0800
committerJed Davis <jld@panix.com>2014-01-09 22:24:31 -0800
commit5487f15bbfae92747373a9b9e11b67db3a82c7d5 (patch)
tree4a70f2586dc518440ca165b80294a6f6248f9b98 /src/rustllvm/RustWrapper.cpp
parent28ddc6537fcec5eb6033c78709b288abf72e8ae7 (diff)
downloadrust-5487f15bbfae92747373a9b9e11b67db3a82c7d5.tar.gz
rust-5487f15bbfae92747373a9b9e11b67db3a82c7d5.zip
Fix ICE on const of nullable enum with fields in null case.
That is, if you have an enum type that is subject to the nullable
pointer optimization, but the null variant has a nonzero number of
fields, and you declare a static whose value is of that variant, then
that used to be an ICE but this change fixes it.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions