From 38b25e0c38448fcc4f22aee678e1dd8f70c762e3 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sun, 3 Apr 2011 13:11:50 +0900 Subject: [PATCH] Do not double-allocate space for immediates. Caused by changed semantics in def creation. --- tools/qfcc/source/value.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/qfcc/source/value.c b/tools/qfcc/source/value.c index da16fe484..d04f837d7 100644 --- a/tools/qfcc/source/value.c +++ b/tools/qfcc/source/value.c @@ -304,7 +304,6 @@ emit_value (ex_value_t *value, def_t *def) } } else { cn = new_def (".imm", type, pr.near_data, st_static); - cn->offset = defspace_alloc_loc (pr.near_data, type_size (type)); } cn->initialized = cn->constant = 1; cn->nosave = 1;