summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2017-11-02 23:07:57 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2017-11-02 23:12:58 +0000
commit51321cf2eb3b8d7cc525f26808f1340f5f8fd565 (patch)
treee3f2c4dfe20560354f9dfd39ed1a921579825e94 /compiler
parentd9b6015d1942aa176e85bb71f34200bab54e1c9c (diff)
downloadhaskell-51321cf2eb3b8d7cc525f26808f1340f5f8fd565.tar.gz
rts/PrimOps.cmm: add declaration for heapOverflow closure
Before the change UNREG ghc build failed as: ``` rts_dist_HC rts/dist/build/PrimOps.o /tmp/ghc2370_0/ghc_4.hc: In function 'stg_newByteArrayzh': /tmp/ghc2370_0/ghc_4.hc:26:13: error: error: 'base_GHCziIOziException_heapOverflow_closure' undeclared (first use in this function) R1.w = (W_)&base_GHCziIOziException_heapOverflow_closure; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 26 | R1.w = (W_)&base_GHCziIOziException_heapOverflow_closure; | ^ ``` It's an UNREG-specific failure because C backend always requires declarations to be known. Added missing declaration. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'compiler')
0 files changed, 0 insertions, 0 deletions