Browse Source

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

Mike Pall 14 years ago
parent
commit
33bab1f76c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dynasm/dasm_arm.lua

+ 1 - 1
dynasm/dasm_arm.lua

@@ -924,7 +924,7 @@ function _M.mergemaps(map_coreop, map_def)
     local cv = map_cond[cc]
     if cv then
       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 })
   setmetatable(map_def, { __index = map_archdef })