Changes between Version 37 and Version 38 of Commentary/PrimOps


Ignore:
Timestamp:
Mar 7, 2019 12:08:29 PM (5 months ago)
Author:
sgraf
Comment:

Why we compile PrimopWrappers with -O0

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/PrimOps

    v37 v38  
    3737   so that the [wiki:Commentary/Rts/Interpreter byte-code interpreter] doesn't need to implement any !PrimOps at all: it
    3838   just invokes the compiled ones from {{{GHC.PrimopWrappers}}}.
     39   Note that we compile that module without optimisations. Doing strictness analysis + WW
     40   on that module would introduce `absentError`s for the bindings of `prefetchValue0#`,
     41   introducing a hidden dependency on `base`.
    3942
    4043 * {{{libraries/ghc-prim/dist-install/build/autogen/GHC/Prim.hs}}}, a generated source file containing dummy declarations for