aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Carbonneaux <[email protected]>2024-04-11 10:22:28 +0200
committerQuentin Carbonneaux <[email protected]>2024-04-11 10:22:46 +0200
commit8e8f7064366996a7fcc8d84267958cfaf5ee8194 (patch)
treeb971254ca781304a0105c04cb6f411cc2b76f79e
parent2d046a0ac61e5e3b6a43ce0faf54cc0994bfe5af (diff)
drop over-zealous offset accumulation
-rw-r--r--amd64/isel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/amd64/isel.c b/amd64/isel.c
index 044fbcb..5f14ba3 100644
--- a/amd64/isel.c
+++ b/amd64/isel.c
@@ -734,7 +734,7 @@ amatch(Addr *a, Num *tn, Ref r, Fn *fn)
memset(&co, 0, sizeof co);
ro = v[0];
rb = adisp(&co, tn, v[1], fn);
- ri = adisp(&co, tn, v[2], fn);
+ ri = v[2];
rs = v[3];
s = 1;