[commit: ghc] master: hs_add_root() RTS API removal (a92ff5d)
git at git.haskell.org
git at git.haskell.org
Mon Apr 17 12:57:05 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/a92ff5d66182d992d02dfaad4c446ad074582368/ghc
>---------------------------------------------------------------
commit a92ff5d66182d992d02dfaad4c446ad074582368
Author: Sergei Trofimovich <slyfox at gentoo.org>
Date: Mon Apr 17 12:56:20 2017 +0100
hs_add_root() RTS API removal
Before ghc-7.2 hs_add_root() had to be used to initialize haskell
modules when haskell was called from FFI.
commit a52ff7619e8b7d74a9d933d922eeea49f580bca8
("Change the way module initialisation is done (#3252, #4417)")
removed needs for hs_add_root() and made function a no-op.
For backward compatibility '__stginit_<module>' symbol was
not removed.
This change removes no-op hs_add_root() function and unused
'__stginit_<module>' symbol from each haskell module.
Signed-off-by: Sergei Trofimovich <slyfox at gentoo.org>
Test Plan: ./validate
Reviewers: simonmar, austin, bgamari, erikd
Reviewed By: simonmar
Subscribers: rwbarton, thomie
Differential Revision: https://phabricator.haskell.org/D3460
>---------------------------------------------------------------
a92ff5d66182d992d02dfaad4c446ad074582368
compiler/cmm/CLabel.hs | 19 ------------
compiler/codeGen/StgCmm.hs | 37 -----------------------
docs/users_guide/8.4.1-notes.rst | 3 ++
includes/HsFFI.h | 1 -
includes/stg/MiscClosures.h | 3 --
rts/RtsStartup.c | 11 -------
rts/RtsSymbols.c | 1 -
rts/StgStartup.cmm | 22 --------------
testsuite/tests/concurrent/should_run/conc059_c.c | 3 --
testsuite/tests/dynlibs/T3807-export.c | 3 --
10 files changed, 3 insertions(+), 100 deletions(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc a92ff5d66182d992d02dfaad4c446ad074582368
More information about the ghc-commits
mailing list