From 19980964d7c39b6e23aa8747a00c01ea6179b66b Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Wed, 23 Apr 2003 19:50:16 +0000 Subject: [PATCH] don't create defs for the components of vector or quaternion defs --- tools/qfcc/source/immediate.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tools/qfcc/source/immediate.c b/tools/qfcc/source/immediate.c index 4e954d596..92011087b 100644 --- a/tools/qfcc/source/immediate.c +++ b/tools/qfcc/source/immediate.c @@ -259,12 +259,6 @@ ReuseConstant (expr_t *expr, def_t *def) } else { cn = new_def (type, ".imm", pr.scope); cn->ofs = new_location (type, pr.near_data); - if (type == &type_vector || type == &type_quaternion) { - int i; - - for (i = 0; i < 3 + (type == &type_quaternion); i++) - new_def (&type_float, ".imm", pr.scope); - } } cn->initialized = cn->constant = 1; // copy the immediate to the global area