objc-act.c (build_objc_string_object): Mark the address expression as constant.
2004-08-05 Andrew Pinski <apinski@apple.com> * objc/objc-act.c (build_objc_string_object): Mark the address expression as constant. From-SVN: r85609
This commit is contained in:
parent
26be638d67
commit
21149a790b
@ -1,3 +1,8 @@
|
||||
2004-08-05 Andrew Pinski <apinski@apple.com>
|
||||
|
||||
* objc/objc-act.c (build_objc_string_object): Mark the address
|
||||
expression as constant.
|
||||
|
||||
2004-08-05 David Edelsohn <edelsohn@gnu.org>
|
||||
|
||||
* config/rs6000/rs6000.c (rs6000_rtx_costs): Fix mask_operand
|
||||
|
@ -1453,7 +1453,9 @@ build_objc_string_object (tree string)
|
||||
= objc_add_static_instance (constructor, constant_string_type);
|
||||
}
|
||||
|
||||
return (build_unary_op (ADDR_EXPR, constructor, 1));
|
||||
constructor = build_unary_op (ADDR_EXPR, constructor, 1);
|
||||
TREE_CONSTANT (constructor) = true;
|
||||
return constructor;
|
||||
}
|
||||
|
||||
/* Declare a static instance of CLASS_DECL initialized by CONSTRUCTOR. */
|
||||
|
Loading…
Reference in New Issue
Block a user