diff options
| author | 2022-08-24 06:46:23 +0200 | |
|---|---|---|
| committer | 2022-08-24 06:46:23 +0200 | |
| commit | e5ed3b20351a2715fe88d9a5dbcc8e6757fe96aa (patch) | |
| tree | 7333f357bc38ed389e8845d59196594377dc46d6 /src/fold.cff | |
| parent | 039ab20bbf6b68c423f420be2481b447d85c606b (diff) | |
llvm defer and more
Diffstat (limited to 'src/fold.cff')
| -rw-r--r-- | src/fold.cff | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fold.cff b/src/fold.cff index c9991b7..00e4702 100644 --- a/src/fold.cff +++ b/src/fold.cff @@ -129,6 +129,7 @@ fn fbinary(ex *Expr) void { case op == '<<' and ty->is(:Int); ei.i = li.i << ri.i; case op == '>>' and ty->is(:Int) and !ty.u.Int.sgn; ei.u = li.u >> ri.u; case op == '>>' and ty->is(:Int); ei.i = li.i >> ri.i; + case else return; } if !ex.ty->is(:Bool) { |