mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 15:14:08 +00:00
DynASM/PPC: Fix shadowed variable.
Cleanup only, bug cannot trigger. Thanks to Domingo Alvarez Duarte.
This commit is contained in:
parent
380e4409a7
commit
20e4c52945
@ -1056,9 +1056,9 @@ map_op[".template__"] = function(params, template, nparams)
|
|||||||
elseif p == "M" then
|
elseif p == "M" then
|
||||||
op = op + parse_shiftmask(params[n], false); n = n + 1
|
op = op + parse_shiftmask(params[n], false); n = n + 1
|
||||||
elseif p == "J" or p == "K" then
|
elseif p == "J" or p == "K" then
|
||||||
local mode, n, s = parse_label(params[n], false)
|
local mode, m, s = parse_label(params[n], false)
|
||||||
if p == "K" then n = n + 2048 end
|
if p == "K" then m = m + 2048 end
|
||||||
waction("REL_"..mode, n, s, 1)
|
waction("REL_"..mode, m, s, 1)
|
||||||
n = n + 1
|
n = n + 1
|
||||||
elseif p == "0" then
|
elseif p == "0" then
|
||||||
if band(shr(op, rs), 31) == 0 then werror("cannot use r0") end
|
if band(shr(op, rs), 31) == 0 then werror("cannot use r0") end
|
||||||
|
Loading…
Reference in New Issue
Block a user