summaryrefslogtreecommitdiff
path: root/compiler/specialise
diff options
context:
space:
mode:
authorEdward Z. Yang <ezyang@cs.stanford.edu>2016-05-12 12:47:16 -0700
committerEdward Z. Yang <ezyang@cs.stanford.edu>2016-08-21 00:53:21 -0700
commit1f1bd920047fa083de29eba7cedafbe37d350b73 (patch)
treee774ab9ecba610ab537265bc622d93e2df3145ec /compiler/specialise
parent704913cf79c7dbf9bf622fb3cfe476edd478b5a2 (diff)
downloadhaskell-1f1bd920047fa083de29eba7cedafbe37d350b73.tar.gz
Introduce BootUnfolding, set when unfolding is absent due to hs-boot file.
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu> Test Plan: validate Reviewers: simonpj, austin, bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D2246
Diffstat (limited to 'compiler/specialise')
-rw-r--r--compiler/specialise/Specialise.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/specialise/Specialise.hs b/compiler/specialise/Specialise.hs
index 72118aa171..e90ea129cd 100644
--- a/compiler/specialise/Specialise.hs
+++ b/compiler/specialise/Specialise.hs
@@ -748,6 +748,7 @@ wantSpecImport :: DynFlags -> Unfolding -> Bool
wantSpecImport dflags unf
= case unf of
NoUnfolding -> False
+ BootUnfolding -> False
OtherCon {} -> False
DFunUnfolding {} -> True
CoreUnfolding { uf_src = src, uf_guidance = _guidance }