Skip to content

Commit 9ee2332

Browse files
committed
Bugfix missing from #20
1 parent 02c4cef commit 9ee2332

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

asmcomp/selectgen.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ method is_simple_expr = function
343343
| Cop(op, args, _) ->
344344
begin match op with
345345
(* The following may have side effects *)
346-
| Capply _ | Cextcall _ | Calloc _ | Cstore _ | Craise _
346+
| Capply _ | Cextcall _ | Calloc _ | Cstore _ | Craise _ -> false
347347
(* The remaining operations are simple if their args are *)
348348
| Cload _ | Caddi | Csubi | Cmuli | Cmulhi | Cdivi | Cmodi | Cand | Cor
349349
| Cxor | Clsl | Clsr | Casr | Ccmpi _ | Caddv | Cadda | Ccmpa _ | Cnegf

0 commit comments

Comments
 (0)