Simplify type of ms_srcimps and ms_textual_imps.
authorEdward Z. Yang <ezyang@cs.stanford.edu>
Thu, 8 Oct 2015 22:03:01 +0000 (15:03 -0700)
committerEdward Z. Yang <ezyang@cs.stanford.edu>
Fri, 9 Oct 2015 17:29:12 +0000 (10:29 -0700)
commite5baf62dfac7fd81acc2bd570ba7d3b1fedd8363
tree3cf68147df2b53c604b03dd94f1c48d416dc1d20
parentc7ab79952e3fd0654108909fc372e4df5ffff91e
Simplify type of ms_srcimps and ms_textual_imps.

Summary:
Previously, we stored an entire ImportDecl, which was pretty
wasteful since all we really cared about was the package qualifier
and the module name.

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
Test Plan: validate

Reviewers: bgamari, austin

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D1317
compiler/iface/MkIface.hs
compiler/main/DriverMkDepend.hs
compiler/main/GhcMake.hs
compiler/main/HeaderInfo.hs
compiler/main/HscTypes.hs