From bdffa662b6156fadcc9e530712e1982c900554d2 Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Fri, 24 Aug 2012 19:08:33 +0200 Subject: [PATCH] not using cachedstring on generated string values anymore, it's not the IR's job --- ir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ir.c b/ir.c index 1f9a80d..41575a5 100644 --- a/ir.c +++ b/ir.c @@ -2707,7 +2707,7 @@ static bool ir_builder_gen_global(ir_builder *self, ir_value *global, bool isloc case TYPE_STRING: { if (global->isconst) - ir_value_code_setaddr(global, code_globals_add(code_cachedstring(global->constval.vstring))); + ir_value_code_setaddr(global, code_globals_add(code_genstring(global->constval.vstring))); else { ir_value_code_setaddr(global, code_globals_add(0)); if (!islocal) -- 2.39.2