summaryrefslogtreecommitdiff
path: root/src/compiler_test.cc
diff options
context:
space:
mode:
author buzbee <buzbee@google.com> 2011-08-29 21:02:19 -0700
committer buzbee <buzbee@google.com> 2011-08-29 21:18:53 -0700
commit2e748f364dba4505ca3a90f095d09c70bcd88eab (patch)
tree16aae1898827bb16a0a1f826797139371ef5b456 /src/compiler_test.cc
parentff0f9bea6355fe0c420815f9b894e6bb634fe764 (diff)
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. Change-Id: Id4183ce89e2672bcf2873d31aa60bd80c91c5a72
Diffstat (limited to 'src/compiler_test.cc')
0 files changed, 0 insertions, 0 deletions