ARM: Don't conditionalize non-opcodes in DynASM.

This commit is contained in:
Mike Pall 2011-04-04 01:39:19 +02:00
parent 2138df2662
commit 33bab1f76c

View File

@ -924,7 +924,7 @@ function _M.mergemaps(map_coreop, map_def)
local cv = map_cond[cc] local cv = map_cond[cc]
if cv then if cv then
local v = rawget(t, sub(k, 1, -5)..sub(k, -2)) local v = rawget(t, sub(k, 1, -5)..sub(k, -2))
if v then return format("%x%s", cv, sub(v, 2)) end if type(v) == "string" then return format("%x%s", cv, sub(v, 2)) end
end end
end }) end })
setmetatable(map_def, { __index = map_archdef }) setmetatable(map_def, { __index = map_archdef })