summary refs log tree commit diff
path: root/src/test/mir-opt/basic_assignment.rs
AgeCommit message (Collapse)AuthorLines
2017-03-03make operands live to the end of their containing expressionAriel Ben-Yehuda-0/+85
In MIR construction, operands need to live exactly until they are used, which is during the (sub)expression that made the call to `as_operand`. Before this PR, operands lived until the end of the temporary scope, which was sometimes unnecessarily longer and sometimes too short. Fixes #38669.