Fix warnings

This commit is contained in:
bjorn3
2020-03-24 13:41:19 +01:00
parent dc76cd0551
commit b113e88ddb
6 changed files with 15 additions and 9 deletions
+1
View File
@@ -37,6 +37,7 @@ pub fn const_addr<'a, 'tcx>(fx: &mut FunctionCx<'a, 'tcx, impl Backend>, addr: i
}
}
#[cfg(debug_assertions)]
pub fn base_and_offset(self) -> (PointerBase, Offset32) {
(self.base, self.offset)
}