about summary refs log tree commit diff
path: root/src/rt/rust_timer.cpp
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2011-07-08 22:05:30 -0700
committerTim Chevalier <chevalier@alum.wellesley.edu>2011-07-08 22:25:57 -0700
commit182c413af199196155d4d82716988b2f5886e892 (patch)
tree3a814b69a62c8e1c92070b5ca9ee6ee2b8b2d5ab /src/rt/rust_timer.cpp
parentbe6febb46d541ebe8cb0f3e0585ffb8bafb39762 (diff)
downloadrust-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