about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2016-01-11 18:23:22 +0100
committerFelix S. Klock II <pnkfelix@pnkfx.org>2016-01-13 14:02:06 +0100
commitf251ff4081dc89b984000547ec0903e845f14201 (patch)
tree1d4a6e63b7424e89315577d5535477da382e04c3 /src/rustllvm/RustWrapper.cpp
parentcec7280bf367be9da472e02eba59b5440b5336c9 (diff)
downloadrust-f251ff4081dc89b984000547ec0903e845f14201.tar.gz
rust-f251ff4081dc89b984000547ec0903e845f14201.zip
bug fixes for issues 30018 and 30822.
includes bugfixes pointed out during review:

 * Only `call_lifetime_start` for an alloca if the function entry does
   not itself initialize it to "dropped."

 * Remove `schedule_lifetime_end` after writing an *element* into a
   borrowed slice. (As explained by [dotdash][irc], "the lifetime end
   that is being removed was for an element in the slice, which is not
   an alloca of its own and has no lifetime start of its own")

[irc]: https://botbot.me/mozilla/rust-internals/2016-01-13/?msg=57844504&page=3
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions