about summary refs log tree commit diff
path: root/src/rt/rust_shape.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rt/rust_shape.cpp')
-rw-r--r--src/rt/rust_shape.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/rt/rust_shape.cpp b/src/rt/rust_shape.cpp
index aecb9254158..3a83f3d4c78 100644
--- a/src/rt/rust_shape.cpp
+++ b/src/rt/rust_shape.cpp
@@ -35,24 +35,6 @@ const uint8_t CMP_LE = 2u;
 
 namespace shape {
 
-// NB: This function does not align.
-template<typename T>
-inline data_pair<T>
-bump_dp(ptr_pair &ptr) {
-    data_pair<T> data(*reinterpret_cast<T *>(ptr.fst),
-                      *reinterpret_cast<T *>(ptr.snd));
-    ptr += sizeof(T);
-    return data;
-}
-
-template<typename T>
-inline data_pair<T>
-get_dp(ptr_pair &ptr) {
-    data_pair<T> data(*reinterpret_cast<T *>(ptr.fst),
-                      *reinterpret_cast<T *>(ptr.snd));
-    return data;
-}
-
 // A shape printer, useful for debugging
 
 void