Generalise Package Support
[ghc-hetmet.git] / compiler / codeGen / CgTailCall.lhs
index dd7327b..56614a8 100644 (file)
@@ -118,9 +118,9 @@ performTailCall fun_info arg_amodes pending_assts
              opt_node_asst | nodeMustPointToIt lf_info = node_asst
                            | otherwise                 = noStmts
        ; EndOfBlockInfo sp _ <- getEndOfBlockInfo
-       ; hmods <- getHomeModules
+       ; this_pkg <- getThisPackage
 
-       ; case (getCallMethod hmods fun_name lf_info (length arg_amodes)) of
+       ; case (getCallMethod this_pkg fun_name lf_info (length arg_amodes)) of
 
            -- Node must always point to things we enter
            EnterIt -> do