summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-10-03 21:30:57 -0700
committerH. Peter Anvin <hpa@zytor.com>2007-10-03 21:30:57 -0700
commit12e46510bc185fff839530bba0c7becaaf307037 (patch)
tree79f9a970aeb4d224f5ad8113e6ebfd9e84911c0a /eval.c
parentbfc17121378b315399f1df25e902f40884ba7506 (diff)
downloadnasm-12e46510bc185fff839530bba0c7becaaf307037.tar.gz
nasm-12e46510bc185fff839530bba0c7becaaf307037.tar.bz2
nasm-12e46510bc185fff839530bba0c7becaaf307037.zip
Change cloc_t to struct location, and reorder the members
Change cloc_t to struct location, and reorder the members so that it should fit in 16 bytes instead of needing 8 bytes of extra padding on 64-bit machines.
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/eval.c b/eval.c
index e8b10ed..3679f2d 100644
--- a/eval.c
+++ b/eval.c
@@ -44,7 +44,7 @@ static struct tokenval *tokval; /* The current token */
static int i; /* The t_type of tokval */
static void *scpriv;
-static cloc_t *location; /* Pointer to current line's segment,offset */
+static struct location *location; /* Pointer to current line's segment,offset */
static int *opflags;
static struct eval_hints *hint;
@@ -813,7 +813,7 @@ static expr *expr6(int critical)
}
void eval_global_info(struct ofmt *output, lfunc lookup_label,
- cloc_t * locp)
+ struct location * locp)
{
outfmt = output;
labelfunc = lookup_label;