Skip to content
Browse files

Explain the bits of `UndefMask`

  • Loading branch information...
oli-obk committed Mar 12, 2019
1 parent 60fde17 commit 1ae131211be24a337877e6dbcd9b6c52a86b9511
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/librustc/mir/interpret/
@@ -613,6 +613,8 @@ impl<Tag> DerefMut for Relocations<Tag> {

type Block = u64;

/// A bitmask where each bit refers to the byte with the same index. If the bit is `true`, the byte
/// is defined. If it is `false` the byte is undefined.
#[derive(Clone, Debug, Eq, PartialEq, PartialOrd, Ord, Hash, RustcEncodable, RustcDecodable)]
pub struct UndefMask {
blocks: Vec<Block>,

0 comments on commit 1ae1312

Please sign in to comment.
You can’t perform that action at this time.