shithub: mc

Download patch

ref: 7a6f9b61aa7161b2240764b9d6335f9c487c6858
parent: 493a0c8839f5f8b25c60146a8e326653bef190c6
author: Ori Bernstein <[email protected]>
date: Fri Oct 11 22:04:49 EDT 2013

Align stack bumps.

--- a/6/isel.c
+++ b/6/isel.c
@@ -421,6 +421,7 @@
         argsz = align(argsz, min(size(n->expr.args[i]), Ptrsz));
         argsz += size(n->expr.args[i]);
     }
+    argsz = align(argsz, 16);
     stkbump = loclit(argsz, ModeQ);
     if (argsz)
         g(s, Isub, stkbump, rsp, NULL);