From: Michael Beck Date: Fri, 9 Jun 2006 11:37:49 +0000 (+0000) Subject: make osr_flag_default a define, because "simple-minded" CRecoder cannot handle this X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=a43300a0c20d2c28150b45af153715741f7a8431;p=libfirm make osr_flag_default a define, because "simple-minded" CRecoder cannot handle this [r7902] --- 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.