diff options
author | Edward Z. Yang <ezyang@cs.stanford.edu> | 2015-10-10 14:34:21 +0200 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2015-10-10 15:41:05 +0200 |
commit | 840df33685e8c746ade4b9d4d0eb7c764a773e48 (patch) | |
tree | 3f9f176e79b384f01190d6b5c0027a3b44744aa0 /compiler/simplCore/SetLevels.hs | |
parent | 182c44da50db028a432a81789048c87922bd30f4 (diff) | |
download | haskell-840df33685e8c746ade4b9d4d0eb7c764a773e48.tar.gz |
Rename SpecInfo to RuleInfo (upon SPJ's advice).
Test Plan: validate
Reviewers: simonpj, austin, bgamari
Reviewed By: bgamari
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D1319
Diffstat (limited to 'compiler/simplCore/SetLevels.hs')
-rw-r--r-- | compiler/simplCore/SetLevels.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/simplCore/SetLevels.hs b/compiler/simplCore/SetLevels.hs index de02e27c2b..d873cc5e15 100644 --- a/compiler/simplCore/SetLevels.hs +++ b/compiler/simplCore/SetLevels.hs @@ -1015,7 +1015,7 @@ abstractVars dest_lvl (LE { le_subst = subst, le_lvl_env = lvl_env }) in_fvs -- We are going to lambda-abstract, so nuke any IdInfo, -- and add the tyvars of the Id (if necessary) zap v | isId v = WARN( isStableUnfolding (idUnfolding v) || - not (isEmptySpecInfo (idSpecialisation v)), + not (isEmptyRuleInfo (idSpecialisation v)), text "absVarsOf: discarding info on" <+> ppr v ) setIdInfo v vanillaIdInfo | otherwise = v |