Chromium Code Reviews
DescriptionFix a bug in ParallelMoveResolver::AllocateScratchRegister, where we end up allocating PC on ARM.
1) Iterate from first_free_register to last_free_register to ensure we're not using protected registers.
2) Break when finding an ok register.
2) fixes allocating PC on ARM by itself, but we could need 1) for another architecture.
The reason this has not been exposed yet, is because we call this method for a memory <-> memory
swap, which almost never happens on ARM.
R=vegorov@google.com
Committed: https://code.google.com/p/dart/source/detail?r=37304
Patch Set 1 #
Messages
Total messages: 3 (0 generated)
|
|||||||||||||||||||||||||||||||||||||