diff options
| author | Michael Sullivan <sully@msully.net> | 2012-06-11 16:51:21 -0700 |
|---|---|---|
| committer | Michael Sullivan <sully@msully.net> | 2012-06-12 17:01:13 -0700 |
| commit | e67b5b25a628f6308612551a3b0c1e723ad93bb3 (patch) | |
| tree | 61cdef39f5f6dfc5dc60885471a29e54cf801418 /src/rt/rust_shape.cpp | |
| parent | ebdf0c20cdaf78e4b132c71cb927f8d1a8d2e3f7 (diff) | |
| download | rust-e67b5b25a628f6308612551a3b0c1e723ad93bb3.tar.gz rust-e67b5b25a628f6308612551a3b0c1e723ad93bb3.zip | |
Introduce a SHAPE_UNBOXED_VEC shape in order to seperate out vector logic.
Diffstat (limited to 'src/rt/rust_shape.cpp')
| -rw-r--r-- | src/rt/rust_shape.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rt/rust_shape.cpp b/src/rt/rust_shape.cpp index 267cd6bfd98..444bcc9e088 100644 --- a/src/rt/rust_shape.cpp +++ b/src/rt/rust_shape.cpp @@ -263,6 +263,11 @@ public: walk_vec2(is_pod, get_vec_data_range(dp)); } + void walk_unboxed_vec2(bool is_pod) { + walk_vec2(is_pod, get_unboxed_vec_data_range(dp)); + } + + void walk_slice2(bool is_pod, bool is_str) { // Slices compare just like vecs. walk_vec2(is_pod, get_slice_data_range(is_str, dp)); |
