diff options
Diffstat (limited to 'testsuite/tests/plugins/LinkerTicklingPlugin.hs')
-rw-r--r-- | testsuite/tests/plugins/LinkerTicklingPlugin.hs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/testsuite/tests/plugins/LinkerTicklingPlugin.hs b/testsuite/tests/plugins/LinkerTicklingPlugin.hs index 7ee63cd7a0..52d5e177bb 100644 --- a/testsuite/tests/plugins/LinkerTicklingPlugin.hs +++ b/testsuite/tests/plugins/LinkerTicklingPlugin.hs @@ -12,6 +12,4 @@ plugin = defaultPlugin { -- or a new instance of it. If it is a new instance the staticFlags -- won't have been initialised, so we'll get a GHC panic here: install :: [CommandLineOption] -> [CoreToDo] -> CoreM [CoreToDo] -install _options todos = reinitializeGlobals >> (length staticFlags `seq` return todos) - --- XXX: remove reinitializeGlobals when we have fixed the linker - -- problem (see comment with reinitializeGlobals in CoreMonad.hs) +install _options todos = length staticFlags `seq` return todos |