Skip to content

Inexplicable argument in stg_newIOPortzh definition

The definition of stg_newIOPortzh in Primops.cmm looks like the following:

stg_newIOPortzh ( gcptr init ) { ... }

However, the init argument is not used, nor does it appear in the primops.txt.pp declaration. Why does this argument exist? I suspect it should be dropped.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information