diff options
Diffstat (limited to 'src/interp/c-util.boot')
-rw-r--r-- | src/interp/c-util.boot | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interp/c-util.boot b/src/interp/c-util.boot index d5b8492e..05a65bb7 100644 --- a/src/interp/c-util.boot +++ b/src/interp/c-util.boot @@ -382,6 +382,7 @@ isAlmostSimple x == op="LET" => IDENTP y => (setAssignment LIST x; y) (setAssignment [["LET",g:= genVariable(),:l],["LET",y,g]]; g) + op = "case" and IDENTP y => x isSideEffectFree op => [op,:mapInto(rest x, function fn)] $assignmentList:= "failed" setAssignment x == |