Skip to content

Commit

Permalink
Remove unused computation of sealed flag
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterRugg committed Oct 21, 2020
1 parent 006993a commit 78204bb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/cheri_cap_common.sail
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ function getCapHardPerms(cap) : Capability -> bits(cap_hperms_width) =

/* Convert from capabilty bits (128 bits with tag) to a more convenient struct. */
function encCapabilityToCapability(t,c) : (bool, EncCapability) -> Capability = {
let sealed : bool = c.otype != to_bits(cap_otype_width, otype_unsealed);
internal_E : bool = bit_to_bool(c.internal_E);
E : bits(cap_E_width) = zeros();
Bs : bits(cap_mantissa_width) = zeros();
Expand Down

0 comments on commit 78204bb

Please sign in to comment.