Skip to content

Commit 2c5c2fd

Browse files
committed
Remove a redundant function
1 parent de6ddd9 commit 2c5c2fd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/luasm.lua

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,7 @@ function instruction:parse(elements, luasm)
189189
op = opcode,
190190
args = args,
191191
line = luasm.current_line,
192-
run = function(instr, interpreter)
193-
self.settings.executor(instr, interpreter)
194-
end
192+
run = self.settings.executor
195193
}
196194
end
197195

0 commit comments

Comments
 (0)