diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-06-12 14:55:44 -0700 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-06-12 14:55:44 -0700 |
| commit | 72360970fce34cd6e6b6c0839e2c22af81bf23b2 (patch) | |
| tree | 5ac2f2dfee81d5212f6cc8a0cffe4325b542aed9 /src/rt/rust_kernel.cpp | |
| parent | d1ec1d4abb0200a46c20341b4d894d9c2198905b (diff) | |
| download | rust-72360970fce34cd6e6b6c0839e2c22af81bf23b2.tar.gz rust-72360970fce34cd6e6b6c0839e2c22af81bf23b2.zip | |
Change trans::common::block to be a class
And replace trans::common::block_parent with option<block>. To handle the recursive self-reference in the block_ class, I had to add a newtype-like enum "block" which is equivalent to @block_ -- which due to an interaction with borrowck, resulted in having to change a few functions in trans::base to take their block argument in ++ mode, irritatingly enough (but not that irritatingly, since we're supposed to get rid of modes).
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions
