summaryrefslogtreecommitdiff
path: root/src/LambdaCube/Compiler/CoreToIR.hs
diff options
context:
space:
mode:
authorPéter Diviánszky <divipp@gmail.com>2016-02-16 01:02:23 +0100
committerPéter Diviánszky <divipp@gmail.com>2016-02-16 01:02:23 +0100
commitaa927f04434e53f41e9fcb04f9c6680c9457fcc8 (patch)
treef7d7d8bfe30543338bc4aa265f111d34fd700cdf /src/LambdaCube/Compiler/CoreToIR.hs
parent6befbf3058a87522dc59e3e55c65a6d7b448fd9e (diff)
eliminate FixLabel, performance is back at previous level
Diffstat (limited to 'src/LambdaCube/Compiler/CoreToIR.hs')
-rw-r--r--src/LambdaCube/Compiler/CoreToIR.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LambdaCube/Compiler/CoreToIR.hs b/src/LambdaCube/Compiler/CoreToIR.hs
index 7bbd4a8b..9e741a01 100644
--- a/src/LambdaCube/Compiler/CoreToIR.hs
+++ b/src/LambdaCube/Compiler/CoreToIR.hs
@@ -847,7 +847,7 @@ chain' vs t _ = error $ "chain: " ++ show t
847 847
848mkTVar i (ExpTV t _ vs) = ExpTV (I.Var i) t vs 848mkTVar i (ExpTV t _ vs) = ExpTV (I.Var i) t vs
849 849
850unLab' (FixLabel_ f _ _ x) = {-trace_ ("fix " ++ show f) $ -} unLab' x 850unLab' (FL _ _ x) = unLab' x
851unLab' x = x 851unLab' x = x
852 852
853instance Subst Exp ExpTV where 853instance Subst Exp ExpTV where