Module Name: pcc
Committed By: ragge
Date: Thu Nov 4 21:12:05 UTC 2010
Modified Files:
pcc/arch/amd64: code.c
Log Message:
Put register assignments with expressions before assigning the rest of
the registers when doing function calls. Solves a problem where some
arguments were trashed by instructions with side effects (idivl).
Now a pcc-compiled pcc can (at least) compile hello world.
To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 pcc/arch/amd64/code.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.