[PATCH] Generate correct push* instruction.
commit05de9d16bfccffb3c760a45d93c38a8b9535df6c
authorAlexey Dobriyan <adobriyan@mail.ru>
Sat, 31 Jul 2004 22:05:05 +0000 (31 15:05 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 8 Apr 2005 04:02:27 +0000 (7 21:02 -0700)
tree8592faf21cff08a28a1598fc07de820b06da65bb
parent5d356994901aab5fa2780a2af912cdc69013beb5
[PATCH] Generate correct push* instruction.

Pay attention to size of function arguments when pushing them to stack.

Generate "pushb" for char, "pushw" for short, ...

[ Linus' note: this is likely "wrong". In a real x86 compiler, we'd
  expand the width of the argument to 32 bits regardless, but from
  a demonstration standpoint this is better ]
compile-i386.c