summary refs log tree commit diff
path: root/lisc/isel.c
diff options
context:
space:
mode:
Diffstat (limited to 'lisc/isel.c')
-rw-r--r--lisc/isel.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lisc/isel.c b/lisc/isel.c
index c287a8f..5075c32 100644
--- a/lisc/isel.c
+++ b/lisc/isel.c
@@ -713,10 +713,7 @@ amatch(Addr *a, Ref r, ANum *ai, Fn *fn, int top)
 	if (top)
 		memset(a, 0, sizeof *a);
 	if (rtype(r) == RCon) {
-		if (top)
-			a->base = r;
-		else
-			addcon(&a->offset, &fn->con[r.val]);
+		addcon(&a->offset, &fn->con[r.val]);
 		return;
 	}
 	assert(rtype(r) == RTmp);