From ea7d91fcadac3dac84268958da8bc25921292354 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Thu, 21 Jun 2007 15:18:58 +0000 Subject: [PATCH] Fix r14644 (fast call). [r14691] --- ir/ana/irmemory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ir/ana/irmemory.c b/ir/ana/irmemory.c index 4e9964c18..cc5829e0c 100644 --- a/ir/ana/irmemory.c +++ b/ir/ana/irmemory.c @@ -1003,7 +1003,7 @@ static void update_calls(ir_node *call, void *env) { ir_entity *ent = get_SymConst_entity(ptr); ir_type *ctp = get_Call_type(call); - if (get_method_additional_properties(ctp) & mtp_property_private) { + if ((get_method_additional_properties(ctp) & mtp_property_private) == 0) { set_method_additional_property(ctp, mtp_property_private); DB((dbgcall, LEVEL_1, "changed call to private method %+F\n", ent)); } -- 2.20.1