diff options
author | Adam Gundry <adam@well-typed.com> | 2014-11-11 11:25:50 +0000 |
---|---|---|
committer | Adam Gundry <adam@well-typed.com> | 2014-11-11 11:25:50 +0000 |
commit | be95bd9179ea073dae4376a6ac29130a4edc9e00 (patch) | |
tree | be93a73a9c4d617c37b08864cd64eba92f25d80e /compiler/simplCore/SimplCore.lhs | |
parent | ce850aaba222c44d983cc13df21ca3365b2fdd19 (diff) | |
download | haskell-wip/tc-plugins.tar.gz |
Make TcPlugin part of Plugin so we can eliminate -ftc-pluginwip/tc-plugins
Diffstat (limited to 'compiler/simplCore/SimplCore.lhs')
-rw-r--r-- | compiler/simplCore/SimplCore.lhs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/compiler/simplCore/SimplCore.lhs b/compiler/simplCore/SimplCore.lhs index 974e045b94..1cfd9bd1e7 100644 --- a/compiler/simplCore/SimplCore.lhs +++ b/compiler/simplCore/SimplCore.lhs @@ -325,11 +325,8 @@ addPluginPasses dflags builtin_passes ; named_plugins <- liftIO (loadPlugins hsc_env) ; foldM query_plug builtin_passes named_plugins } where - query_plug todos (mod_nm, plug) + query_plug todos (mod_nm, plug, options) = installCoreToDos plug options todos - where - options = [ option | (opt_mod_nm, option) <- pluginModNameOpts dflags - , opt_mod_nm == mod_nm ] #endif \end{code} |