DynASM/PPC: Fix shadowed variable.

Cleanup only, bug cannot trigger.
Thanks to Domingo Alvarez Duarte.
This commit is contained in:
Mike Pall 2019-01-10 12:28:24 +01:00
parent 380e4409a7
commit 20e4c52945

View File

@ -1056,9 +1056,9 @@ map_op[".template__"] = function(params, template, nparams)
elseif p == "M" then
op = op + parse_shiftmask(params[n], false); n = n + 1
elseif p == "J" or p == "K" then
local mode, n, s = parse_label(params[n], false)
if p == "K" then n = n + 2048 end
waction("REL_"..mode, n, s, 1)
local mode, m, s = parse_label(params[n], false)
if p == "K" then m = m + 2048 end
waction("REL_"..mode, m, s, 1)
n = n + 1
elseif p == "0" then
if band(shr(op, rs), 31) == 0 then werror("cannot use r0") end