[project @ 2003-03-07 11:22:06 by simonmar]
authorsimonmar <unknown>
Fri, 7 Mar 2003 11:22:06 +0000 (11:22 +0000)
committersimonmar <unknown>
Fri, 7 Mar 2003 11:22:06 +0000 (11:22 +0000)
Oops, byteCodeGen should get the bindings from CorePrep, not CoreTidy
(should fix last night's GHCi breakage).

ghc/compiler/main/HscMain.lhs

index cad46c4..23f00c9 100644 (file)
@@ -353,7 +353,7 @@ hscBackEnd dflags
       HscInterpreted ->
 #ifdef GHCI
        do  -----------------  Generate byte code ------------------
-           comp_bc <- byteCodeGen dflags core_binds type_env
+           comp_bc <- byteCodeGen dflags prepd_binds type_env
        
            ------------------ Create f-x-dynamic C-side stuff ---
            (istub_h_exists, istub_c_exists)