Register temp handling fix
In general, compiler routines that generate code don't need to worry
about register management - the underlying utilites will take care of
it. However, when generating an invoke sequence specific registers must
be used to conform to the calling convention. To prevent the normal
utilities from allocating these fixed registers, oatLockAllTemps() is
called to mark the registers as in use. However, oatLockAllTemps() did
just that - it locked all of the temps, not just those used for arguments.
This change renames oatLockAllTemps() to oatLockCallTemps() and restricts
the locking to the argument registers.
4 files changed