Fix partial type declaration warning

This commit is contained in:
Alexandre Joannou
2020-11-18 09:32:32 +00:00
parent bc0fada841
commit 1b660d06bd

View File

@@ -936,7 +936,7 @@ instance CHERICap #(CapMem, OTypeW, FlagsW, CapAddressW, CapW, TSub#(MW, 3));
function getLength = error("getLength not implemented for CapMem");
function isInBounds = error("isInBounds not implemented for CapMem");
function setBoundsCombined = error("setBoundsCombined not implemented for CapMem");
function nullWithAddr(Bit#(CapAddressW) addr) = setAddrUnsafe(packCap(null_cap), addr);
function nullWithAddr = setAddrUnsafe(packCap(null_cap));
function almightyCap;
CapReg res = almightyCap;
return cast(res);