diff options
author | Ian Lynagh <ian@well-typed.com> | 2013-07-30 17:03:38 +0100 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2013-07-30 17:03:38 +0100 |
commit | 1e258592c6e6688661f76608fa1645313c30f950 (patch) | |
tree | 8bb23f0ee4e7364dad94f5078f03de6dbfea9be2 /compiler/main/DriverPipeline.hs | |
parent | 9e118d0a719f11cb7cabe783f87a85aac583b84d (diff) | |
download | haskell-1e258592c6e6688661f76608fa1645313c30f950.tar.gz |
Rename doDynamicToo to dynamicTooMkDynamicDynFlags
Makes it look less likely that people will confuse what it is for
(e.g. #8104).
Diffstat (limited to 'compiler/main/DriverPipeline.hs')
-rw-r--r-- | compiler/main/DriverPipeline.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/main/DriverPipeline.hs b/compiler/main/DriverPipeline.hs index 26425ae29b..aa49e70eb7 100644 --- a/compiler/main/DriverPipeline.hs +++ b/compiler/main/DriverPipeline.hs @@ -583,7 +583,7 @@ runPipeline stop_phase hsc_env0 (input_fn, mb_phase) when isHaskellishFile $ whenCannotGenerateDynamicToo dflags $ do debugTraceMsg dflags 4 (text "Running the pipeline again for -dynamic-too") - let dflags' = doDynamicToo dflags + let dflags' = dynamicTooMkDynamicDynFlags dflags hsc_env' <- newHscEnv dflags' _ <- runPipeline' start_phase hsc_env' env input_fn maybe_loc maybe_stub_o @@ -724,7 +724,7 @@ pipeLoop phase input_fn = do case phase of HscOut {} -> whenGeneratingDynamicToo dflags $ do - setDynFlags $ doDynamicToo dflags + setDynFlags $ dynamicTooMkDynamicDynFlags dflags -- TODO shouldn't ignore result: _ <- pipeLoop phase input_fn return () |