diff options
Diffstat (limited to 'arm64/abi.c')
-rw-r--r-- | arm64/abi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arm64/abi.c b/arm64/abi.c index b340af2..17ea1d1 100644 --- a/arm64/abi.c +++ b/arm64/abi.c @@ -645,7 +645,7 @@ arm64_abi(Fn *fn) b->visit = 0; /* lower parameters */ - for (b=fn->start, i=b->ins; i-b->ins<b->nins; i++) + for (b=fn->start, i=b->ins; i<&b->ins[b->nins]; i++) if (!ispar(i->op)) break; p = selpar(fn, b->ins, i); |