mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-23 20:33:05 +00:00
not using cachedstring on generated string values anymore, it's not the IR's job
This commit is contained in:
parent
1d851a1400
commit
bdffa662b6
1 changed files with 1 additions and 1 deletions
2
ir.c
2
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)
|
||||
|
|
Loading…
Reference in a new issue