X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fvectorise%2FVectMonad.hs;h=dc26b4b69020c4ca2904c863eecca8e205f2d3c2;hp=a658253df778545bc3777bb2768103ec4ed3a90a;hb=35380dd876960a2e88e8743545615040f08b4f27;hpb=b339d20ef3d725857267491e0e4ca813bef62b99 diff --git a/compiler/vectorise/VectMonad.hs b/compiler/vectorise/VectMonad.hs index a658253..dc26b4b 100644 --- a/compiler/vectorise/VectMonad.hs +++ b/compiler/vectorise/VectMonad.hs @@ -124,6 +124,9 @@ data LocalEnv = LocalEnv { -- Mapping from tyvars to their PA dictionaries , local_tyvar_pa :: VarEnv CoreExpr + + -- Hoisted bindings + , local_bindings :: [(Var, CoreExpr)] } @@ -141,6 +144,7 @@ initGlobalEnv info instEnvs famInstEnvs emptyLocalEnv = LocalEnv { local_vars = emptyVarEnv , local_tyvar_pa = emptyVarEnv + , local_bindings = [] } -- FIXME