aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorMaxime Dénès2018-09-11 13:17:25 +0200
committerMaxime Dénès2018-09-11 13:17:25 +0200
commit2d8616d98226518558c5bd1d2cb75746f4e46fb0 (patch)
tree5fa2cda5e410c46891eb47b934b81acfe6c94780 /kernel
parent664ceaa604b67e8b4d1638b5df0adafbdd2c1807 (diff)
parent504134c71da463a9d58eaf5b090b889805bd1b98 (diff)
Merge PR #8278: Do not inline let-bound functions in clambda optimization.
Diffstat (limited to 'kernel')
-rw-r--r--kernel/clambda.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/clambda.ml b/kernel/clambda.ml
index 7c00e40fb0..961036d3c5 100644
--- a/kernel/clambda.ml
+++ b/kernel/clambda.ml
@@ -269,7 +269,7 @@ let lam_subst_args subst args =
let can_subst lam =
match lam with
| Lrel _ | Lvar _ | Lconst _
- | Lval _ | Lsort _ | Lind _ | Llam _ -> true
+ | Lval _ | Lsort _ | Lind _ -> true
| _ -> false
let rec simplify subst lam =