Skip to content

Commit

Permalink
pflua: fix typo bug in native codegen (xor/or emission)
Browse files Browse the repository at this point in the history
  • Loading branch information
eugeneia committed Feb 7, 2020
1 parent 18cc365 commit 3fdf926
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pflua/src/pf/codegen.dasl
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ local function compile(instructions, alloc, dump)
local reg1, reg2 = alloc[instr[2]], alloc[instr[3]]
| or Rq(reg1), Rq(reg2)

elseif itype == "or" then
elseif itype == "xor" then
local reg1, reg2 = alloc[instr[2]], alloc[instr[3]]
| xor Rq(reg1), Rq(reg2)

Expand Down

0 comments on commit 3fdf926

Please sign in to comment.