From 88217d0157a1dd11a8151542adaed5d0a1c90149 Mon Sep 17 00:00:00 2001 From: whitequark Date: Wed, 5 Dec 2018 19:12:02 +0000 Subject: [PATCH] opt_lut: simplify type conversion. NFC. --- passes/opt/opt_lut.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/passes/opt/opt_lut.cc b/passes/opt/opt_lut.cc index befe346a3..3c4cb95bb 100644 --- a/passes/opt/opt_lut.cc +++ b/passes/opt/opt_lut.cc @@ -58,7 +58,7 @@ struct OptLutWorker } } - return lut_table.extract(lut_index).as_int(); + return lut_table.extract(lut_index).as_bool(); } void show_stats_by_arity() -- 2.30.2