diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2011-07-08 22:05:30 -0700 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2011-07-08 22:25:57 -0700 |
| commit | 182c413af199196155d4d82716988b2f5886e892 (patch) | |
| tree | 3a814b69a62c8e1c92070b5ca9ee6ee2b8b2d5ab /src/rt/rust_timer.cpp | |
| parent | be6febb46d541ebe8cb0f3e0585ffb8bafb39762 (diff) | |
| download | rust-182c413af199196155d4d82716988b2f5886e892.tar.gz rust-182c413af199196155d4d82716988b2f5886e892.zip | |
Propagate constraints through copy, move, and swap
Assignments and moves with a simple local variable reference on the RHS now propagate any typestate constraints the RHS was involved in to the LHS. Swaps where both sides are local variables exchange the constraints. This was a pain in the butt and I'm still not proud of the resulting code. Needs refactoring like whoa.
Diffstat (limited to 'src/rt/rust_timer.cpp')
0 files changed, 0 insertions, 0 deletions
