]> git.lizzy.rs Git - rust.git/blobdiff - src/pointer.rs
Fix inline asm codegen for empty template
[rust.git] / src / pointer.rs
index 88a78f3214d87b054efdb0281dde5d557009d6ee..31d827f83bfab94543e32a1ffbe0f3918b6d62fd 100644 (file)
@@ -39,8 +39,7 @@ pub(crate) fn dangling(align: Align) -> Self {
         Pointer { base: PointerBase::Dangling(align), offset: Offset32::new(0) }
     }
 
-    #[cfg(debug_assertions)]
-    pub(crate) fn base_and_offset(self) -> (PointerBase, Offset32) {
+    pub(crate) fn debug_base_and_offset(self) -> (PointerBase, Offset32) {
         (self.base, self.offset)
     }