Garry's Mod Wiki

Revision Difference

jit.opt.start#511490

<function name="opt.start" parent="jit" type="libraryfunc">⤶ <description>⤶ JIT compiler optimization control. The opt sub-module provides the backend for the -O command line LuaJIT option.⤶ You can also use it programmatically, e.g.:⤶ ⤶ ```⤶ jit.opt.start(2) -- same as -O2⤶ jit.opt.start("-dce")⤶ jit.opt.start("hotloop=10", "hotexit=2")⤶ ```⤶ ⤶ </description>⤶ <realm>Shared and Menu</realm>⤶ <args>⤶ <arg name="args" type="vararg"></arg>⤶ </args>⤶ </function>⤶ ⤶