From 09869cd0560c47f13c9740c121eac1a051b34bf4 Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Wed, 11 Jan 2012 18:28:09 -0800 Subject: [PATCH] update iface cc code to not walk contents (as with other boxes) --- src/rt/rust_cc.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/rt/rust_cc.cpp b/src/rt/rust_cc.cpp index d04ae2e09df..06a66366f78 100644 --- a/src/rt/rust_cc.cpp +++ b/src/rt/rust_cc.cpp @@ -111,7 +111,8 @@ class irc : public shape::data { } void walk_iface() { - shape::data::walk_iface_contents(dp); + //shape::data::walk_iface_contents(dp); + shape::data::walk_box_contents(); } void walk_res(const shape::rust_fn *dtor, unsigned n_params, @@ -502,7 +503,8 @@ class sweep : public shape::data { } void walk_iface() { - shape::data::walk_iface_contents(dp); + //shape::data::walk_iface_contents(dp); + shape::data::walk_box_contents(); } void walk_res(const shape::rust_fn *dtor, unsigned n_params,