It’s Luau, not Lua 5.4.
Ever tried switching to optimize 2 mode? No? Well, too bad you are still wrong.
Are you crazy or something? You’ve never opened a disassembler in your life, and all you provide is some vague screenshot of someone using it.
It literally does get inlined
# Compilation Stats:
# Functions: 2
# Instructions: 7
# Optimisations: 2
# Debug: 0
function anon_0(??)
ADD R2 R0 R1
RETURN R2 1
end
function anon_1(??)
DUPCLOSURE R0 K0;
GETIMPORT R1 2; print
LOADN R2 5
CALL R1 1 0
RETURN R0 0
end
You obviously watch some nonsense sources instead of verifying anything you see. Too bad you stumbled upon a guy who literally documented all opcodes for Luau.
Also, how register/non-register-based bytecode could even influence inlining your logic makes zero sense.
Wrong, like the 10th time already. Learn from mistakes, pal.
You seem to not understand how to work with a disassembler at all. I recommend you heavily to read my tutorial before bringing a Luau compiler into an argument ever.
