mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-08 15:34:09 +00:00
Reverting the changes, as its breaking the build
The above expression works on CLI, but its failing here, not sure whats going wrong , Please let me know your comments on it
This commit is contained in:
parent
b92584b497
commit
7aae451d93
@ -330,10 +330,10 @@ local function split_memop(arg)
|
|||||||
return 0, parse_reg(x), parse_reg(b)
|
return 0, parse_reg(x), parse_reg(b)
|
||||||
end
|
end
|
||||||
-- Assuming that only displacement is passed, as either digit or label "45 or label1"
|
-- Assuming that only displacement is passed, as either digit or label "45 or label1"
|
||||||
local d = match(arg,"[%w_]+")
|
-- local d = match(arg,"[%w_]+")
|
||||||
if d then
|
-- if d then
|
||||||
return d, 0, 0
|
-- return d, 0, 0
|
||||||
end
|
-- end
|
||||||
local reg, tailr = match(arg, "^([%w_:]+)%s*(.*)$")
|
local reg, tailr = match(arg, "^([%w_:]+)%s*(.*)$")
|
||||||
if reg then
|
if reg then
|
||||||
local r, tp = parse_reg(reg)
|
local r, tp = parse_reg(reg)
|
||||||
|
Loading…
Reference in New Issue
Block a user