used new prefixed enum value
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Wed, 20 Aug 2003 07:46:04 +0000 (07:46 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Wed, 20 Aug 2003 07:46:04 +0000 (07:46 +0000)
[r1720]

testprograms/call_str_example.c

index d275d07..0d21cf5 100644 (file)
@@ -51,7 +51,7 @@ int main(int argc, char **argv)
 
   /* Make a global entity that represents the constant String. */
   const_str = new_entity(get_glob_type(), new_id_from_str("constStr"), U8array);
-  set_entity_variability(const_str, constant);
+  set_entity_variability(const_str, variability_constant);
   for (i = 0; i < strlen(str); i++) {
     tarval *val = new_tarval_from_long(str[i], mode_Bu);
     ir_node *con =  new_Const(mode_Bu, val);