aboutsummaryrefslogtreecommitdiffstats
path: root/backend/Selection.v
diff options
context:
space:
mode:
Diffstat (limited to 'backend/Selection.v')
-rw-r--r--backend/Selection.v5
1 files changed, 1 insertions, 4 deletions
diff --git a/backend/Selection.v b/backend/Selection.v
index ec4a7b38..7191d5cb 100644
--- a/backend/Selection.v
+++ b/backend/Selection.v
@@ -283,10 +283,7 @@ Definition sel_builtin optid ef args :=
| Some id =>
match args with
| a1::a2::a3::nil =>
- OK (Sassign id (Eop (Oselect (Ccomp0 Ceq))
- ((sel_expr a3):::
- (sel_expr a2):::
- (sel_expr a1):::Enil)))
+ OK (Sassign id (select (sel_expr a3) (sel_expr a2) (sel_expr a1)))
| _ => Error (msg "__builtin_ternary_(u)int: arguments")
end
end