about summary refs log tree commit diff
path: root/src/rt/rust_box_annihilator.cpp
diff options
context:
space:
mode:
authorMichael Sullivan <sully@msully.net>2012-06-11 16:51:21 -0700
committerMichael Sullivan <sully@msully.net>2012-06-12 17:01:13 -0700
commite67b5b25a628f6308612551a3b0c1e723ad93bb3 (patch)
tree61cdef39f5f6dfc5dc60885471a29e54cf801418 /src/rt/rust_box_annihilator.cpp
parentebdf0c20cdaf78e4b132c71cb927f8d1a8d2e3f7 (diff)
Introduce a SHAPE_UNBOXED_VEC shape in order to seperate out vector logic.
Diffstat (limited to 'src/rt/rust_box_annihilator.cpp')
-rw-r--r--src/rt/rust_box_annihilator.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rt/rust_box_annihilator.cpp b/src/rt/rust_box_annihilator.cpp
index 7984fbd618e..20058a8a9db 100644
--- a/src/rt/rust_box_annihilator.cpp
+++ b/src/rt/rust_box_annihilator.cpp
@@ -45,6 +45,10 @@ class annihilator : public shape::data<annihilator,shape::ptr> {
         task->kernel->free(vec);
     }
 
+    void walk_unboxed_vec2(bool is_pod) {
+        walk_vec2(is_pod, get_unboxed_vec_data_range(dp));
+    }
+
     void walk_fixedvec2(uint16_t n_elts, size_t elt_sz, bool is_pod) {
         walk_vec2(is_pod, get_fixedvec_data_range(n_elts, elt_sz, dp));
     }