зеркало из https://github.com/mozilla/gecko-dev.git
Bug 587735 - redefine nRegisterAllocFromSet in terms of lsReg or msReg (r=edwsmith)
--HG-- extra : convert_revision : 69db0577a9fa38579d2c2704cbe2cafcd7cb020c
This commit is contained in:
Родитель
4bdc0f4b32
Коммит
ea3911e8f5
|
@ -3187,8 +3187,7 @@ namespace nanojit
|
|||
int reg = 0;
|
||||
|
||||
// Find the first register in this set.
|
||||
while (!(set & rmask((Register)reg)))
|
||||
reg++;
|
||||
reg = lsReg(set);
|
||||
|
||||
_allocator.free &= ~rmask((Register)reg);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче