Skip to content

Use fix-sized primops for fixed size boxed types

John Ericson requested to merge wip/sized-primops-for-sized-box into master

Progress towards #19026 (closed), fixes #19931 (closed)

Now that we have the 32-bit primpos (from !4698 (closed) which is contained), we can do this for all over the 8-, 16-, and 32-bit boxed types. This will shrink and declutter the core.

Unfortunately I've been getting a GHC panic. But it went away with Devel2, so I'm back to fixing obvious issues.

Please take a few moments to verify that your commits fulfill the following:

  • are either individually buildable or squashed
  • have commit messages which describe what they do (referring to Notes and tickets using #NNNN syntax when appropriate)
  • have added source comments describing your change. For larger changes you likely should add a Note and cross-reference it from the relevant places.
  • add a testcase to the testsuite.
  • replace this message with a description motivating your change

If you have any questions don't hesitate to open your merge request and inquire in a comment. If your patch isn't quite done yet please do add prefix your MR title with WIP:.

Edited by John Ericson

Merge request reports