Skip to content
Snippets Groups Projects
Commit 1dd929d5 authored by sof's avatar sof
Browse files

[project @ 1998-06-26 12:08:28 by sof]

simplRecursiveGroup: accidentally commented out single occurrence optim
parent 4416c105
No related merge requests found
......@@ -1252,7 +1252,6 @@ simplRecursiveGroup env new_ids []
= returnSmpl ([], env)
simplRecursiveGroup env (new_id : new_ids) ((binder, rhs) : pairs)
{-
| inlineUnconditionally binder
= -- Single occurrence, so drop binding and extend env with the inlining
-- This is a little delicate, because what if the unique occurrence
......@@ -1266,7 +1265,6 @@ simplRecursiveGroup env (new_id : new_ids) ((binder, rhs) : pairs)
new_env = bindIdToExpr env binder rhs
in
simplRecursiveGroup new_env new_ids pairs
-}
| otherwise
= simplRhsExpr env binder rhs new_id `thenSmpl` \ (new_rhs, arity) ->
let
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment