Prevent 'partial type info' warning

This commit is contained in:
Peter Rugg
2020-07-23 11:18:55 +01:00
parent c9156c6ea9
commit a812edaffa

View File

@@ -935,7 +935,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(addr) = setAddrUnsafe(packCap(null_cap), addr);
function almightyCap;
CapReg res = almightyCap;
return cast(res);