Add support for comma-separated elements in "jitblacklist" item.

This commit is contained in:
gbeauche 2007-06-15 07:55:03 +00:00
parent 0a7fe2eaf8
commit 3f535d30da

View File

@ -6168,12 +6168,12 @@ static bool merge_blacklist()
p += 4;
}
if (*p == 0 || *p == ';') {
if (*p == 0 || *p == ',' || *p == ';') {
write_log("<JIT compiler> : blacklist opcodes : %04x-%04x\n", opcode1, opcode2);
for (int opcode = opcode1; opcode <= opcode2; opcode++)
reset_compop(cft_map(opcode));
if (*p++ == ';')
if (*p == ',' || *p++ == ';')
continue;
return true;