Skip to content

Commit

Permalink
Modify the mask of slot to 0xFF (LuaJIT use)
Browse files Browse the repository at this point in the history
  • Loading branch information
constfold committed Jun 26, 2020
1 parent 80688a7 commit 5356306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lang/bcread.lua
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ end
local function uv_decode(uv)
if band(uv, 0x8000) ~= 0 then
local imm = (band(uv, 0x40) ~= 0)
return band(uv, 0x3fff), true, imm
return band(uv, 0xff), true, imm
else
return uv, false, false
end
Expand Down

0 comments on commit 5356306

Please sign in to comment.