diff options
| author | Marijn Haverbeke <marijnh@gmail.com> | 2012-01-11 09:44:27 +0100 |
|---|---|---|
| committer | Marijn Haverbeke <marijnh@gmail.com> | 2012-01-11 11:46:44 +0100 |
| commit | 87253cf3a91994aac5a9e679ae17cfcad1ed0fcf (patch) | |
| tree | f59d0eebc135a86b4f2a84e9712898d98c3b9dbd /src/rt/rust_cc.cpp | |
| parent | 0145b15f0cd61389599eb1cb77c028f7f4a8229a (diff) | |
| download | rust-87253cf3a91994aac5a9e679ae17cfcad1ed0fcf.tar.gz rust-87253cf3a91994aac5a9e679ae17cfcad1ed0fcf.zip | |
Revert some iface shape code, fix a few more things in it
We can now run the compiler with an iface-based hashtable implementation.
Diffstat (limited to 'src/rt/rust_cc.cpp')
| -rw-r--r-- | src/rt/rust_cc.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/rt/rust_cc.cpp b/src/rt/rust_cc.cpp index a96c3739ca3..d04ae2e09df 100644 --- a/src/rt/rust_cc.cpp +++ b/src/rt/rust_cc.cpp @@ -111,8 +111,7 @@ class irc : public shape::data<irc,shape::ptr> { } void walk_iface() { - // an iface is always a ptr to a ref-counted obj. - shape::data<irc,shape::ptr>::walk_box_contents(); + shape::data<irc,shape::ptr>::walk_iface_contents(dp); } void walk_res(const shape::rust_fn *dtor, unsigned n_params, @@ -503,7 +502,7 @@ class sweep : public shape::data<sweep,shape::ptr> { } void walk_iface() { - shape::data<sweep,shape::ptr>::walk_box_contents(); + shape::data<sweep,shape::ptr>::walk_iface_contents(dp); } void walk_res(const shape::rust_fn *dtor, unsigned n_params, |
