From a43300a0c20d2c28150b45af153715741f7a8431 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Fri, 9 Jun 2006 11:37:49 +0000 Subject: [PATCH] make osr_flag_default a define, because "simple-minded" CRecoder cannot handle this [r7902] --- ir/opt/opt_osr.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ir/opt/opt_osr.h b/ir/opt/opt_osr.h index e41d53d35..cabcdab76 100644 --- a/ir/opt/opt_osr.h +++ b/ir/opt/opt_osr.h @@ -20,10 +20,13 @@ typedef enum osr_flags { osr_flag_none = 0, /**< no additional flags */ osr_flag_lftr_with_ov_check = 1, /**< do only linear function test replacement if no overflow occurs. */ - /** default setting */ - osr_flag_default = osr_flag_lftr_with_ov_check } osr_flags; +/* FirmJNI cannot handle identical enum values... */ + +/** default setting */ +#define osr_flag_default osr_flag_lftr_with_ov_check + /** * Do the Operator Scalar Replacement optimization and linear * function test replacement for loop control. -- 2.20.1