Commit 3f980457 authored by Simon Peyton Jones's avatar Simon Peyton Jones

Tiny refactor

parent 0839a668
......@@ -353,12 +353,13 @@ mkHashFun hsc_env eps
mod = ASSERT2( isExternalName name, ppr name ) nameModule name
occ = nameOccName name
iface = lookupIfaceByModule (hsc_dflags hsc_env) hpt pit mod `orElse`
iface = lookupIfaceByModule dflags hpt pit mod `orElse`
pprPanic "lookupVers2" (ppr mod <+> ppr occ)
snd (mi_hash_fn iface occ `orElse`
pprPanic "lookupVers1" (ppr mod <+> ppr occ))
dflags = hsc_dflags hsc_env
hpt = hsc_HPT hsc_env
pit = eps_PIT eps
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment