亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? luajit_api.html

?? lua的即時編譯器。支持lua 5.1.2版本
?? HTML
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><head><title>LuaJIT API Extensions</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><meta name="Author" content="Mike Pall"><meta name="Copyright" content="Copyright (C) 2005-2007, Mike Pall"><meta name="Language" content="en"><link rel="stylesheet" type="text/css" href="bluequad.css" media="screen"><link rel="stylesheet" type="text/css" href="bluequad-print.css" media="print"><style type="text/css">td.stname { width: 10em; }tr.sthead td { font-weight: bold; }</style></head><body><div id="site"><a href="http://luajit.org/"><span>Lua<span id="logo">JIT</span></span></a></div><div id="head"><h1>LuaJIT API Extensions</h1></div><div id="nav"><ul><li><a href="index.html">Index</a></li><li><a href="luajit.html">LuaJIT</a><ul><li><a href="luajit_features.html">Features</a></li><li><a href="luajit_install.html">Installation</a></li><li><a href="luajit_run.html">Running</a></li><li><a class="current" href="luajit_api.html">API Extensions</a></li><li><a href="luajit_intro.html">Introduction</a></li><li><a href="luajit_performance.html">Performance</a></li><li><a href="luajit_debug.html">Debugging</a></li><li><a href="luajit_changes.html">Changes</a></li></ul></li><li><a href="coco.html">Coco</a><ul><li><a href="coco_portability.html">Portability</a></li><li><a href="coco_api.html">API Extensions</a></li><li><a href="coco_changes.html">Changes</a></li></ul></li><li><a href="dynasm.html">DynASM</a><ul><li><a href="dynasm_features.html">Features</a></li><li><a href="dynasm_examples.html">Examples</a></li></ul></li><li><a href="http://luajit.org/download.html">Download <span class="ext">&raquo;</span></a></li></ul></div><div id="main"><p>LuaJIT provides several new API functions organized into twolibraries.</p><p>LuaJIT includes Coco &mdash; so have a look at the<a href="coco_api.html">Coco API Extenstions</a>, too.</p><h2>Standard Library Functions</h2><p>All standard library functions have the same behaviour asin the Lua distribution LuaJIT is based on.</p><p>The Lua loader used by the standard <tt>require()</tt> libraryfunction has been modified to turn off compilation of the mainchunk of a module. The main chunk is only run once when the moduleis loaded for the first time. There is no point in compiling it.</p><p>You might want to adapt this behaviour if you use your own utilityfunctions (and not <tt>require()</tt>) to load modules.</p><p>Note that the subfunctions defined in a loaded module <em>are</em>of course compiled. See below if you want to override this.</p><h2>The jit.* Library</h2><p>This library holds several functions to control the behaviourof the JIT engine.</p><h3 id="jit_onoff"><tt>jit.on()<br>jit.off()</tt></h3><p>Turns the JIT engine on (default) or off.</p><p>These functions are typically used with the command line options<tt>-j on</tt> or <tt>-j off</tt>.</p><h3 id="jit_onoff_func"><tt>jit.on(func|true [,true|false])<br>jit.off(func|true [,true|false])</tt></h3><p>Enable (with <tt>jit.on</tt>, default) or disable (with <tt>jit.off</tt>)JIT compilation for a Lua function. The current function (the Lua functioncalling this library function) can be specified with <tt>true</tt>.</p><p>If the second argument is <tt>true</tt>, JIT compilation is alsoenabled/disabled recursively for all subfunctions of a function.With <tt>false</tt> only the subfunctions are affected.</p><p>Both library functions only set a flag which is checked whenthe function is executed for the first/next time. They do nottrigger immediate compilation.</p><p>Typical usage is <tt>jit.off(true, true)</tt> in the main chunkof a module to turn off JIT compilation for the whole module.Note that <tt>require()</tt> already turns off compilation forthe main chunk itself.</p><h3 id="jit_compile"><tt>status = jit.compile(func [,args...])</tt></h3><p>Compiles a Lua function and returns the compilation status.Successful compilation is indicated with a <tt>nil</tt> status.Failure is indicated with a numeric status (see <tt>jit.util.status</tt>).</p><p>The optimizer pass of the compiler tries to derive hints from thepassed arguments. Not passing any arguments or passing untypicalarguments (esp. the wrong types) reduces the efficiency of theoptimizer. The compiled function will still run, but probably notwith maximum speed.</p><p>This library function is typically used for Ahead-Of-Time (AOT)compilation of time-critical functions or for testing/debugging.</p><h3 id="jit_compilesub"><tt>status = jit.compilesub(func|true [,true])</tt></h3><p>Recursively compile all subfunctions of a Lua function.The current function (the Lua function calling this library function)can be specified with <tt>true</tt>. Note that the function<em>itself</em> is not compiled (use <tt>jit.compile()</tt>).</p><p>If the second argument is <tt>true</tt>, compilation will stopwhen the first error is encountered. Otherwise compilation willcontinue with the next subfunction.</p><p>The returned status is <tt>nil</tt>, if all subfunctions have beencompiled successfully. A numeric status (see <tt>jit.util.status</tt>)indicates that at least one compilation failed and gives the statusof the last failure (this is only helpful when stop on erroris <tt>true</tt>).</p><h3 id="jit_debug"><tt>jit.debug([level])</tt></h3><p>Set the debug level for JIT compilation. If no <tt>level</tt> is given,the maximum debug level is set.</p><ul><li>Level 0 disables debugging: no checks for hooks are compiledinto the code. This is the default when LuaJIT is started andprovides the maximum performance.</li><li>Level 1 enables function call debugging: call hooks andreturn hooks are checked in the function prologue and epilogue.This slows down function calls somewhat (by up to 10%).</li><li>Level 2 enables full debugging: all hooks are checked.This slows down execution quite a bit, even when the hooksare not active.</li></ul><p>Note that some compiler optimizations are turned off whendebugging is enabled.</p><p>This function is typically used with the command line options<tt>-j debug</tt> or <tt>-j debug=level</tt>.</p><h3 id="jit_attach"><tt>jit.attach(handler [, priority])</tt></h3><p>Attach a handler to the compiler pipeline with the given priority.The handler is detached if no priority is given.</p><p>The inner workings of the compiler pipeline and the API for handlersare still in flux. Please see the source code for more details.</p><h3 id="jit_version"><tt>jit.version</tt></h3><p>Contains the LuaJIT version string.</p><h3 id="jit_version_num"><tt>jit.version_num</tt></h3><p>Contains the version number of the LuaJIT core. Version xx.yy.zzis represented by the decimal number xxyyzz.</p><h3 id="jit_arch"><tt>jit.arch</tt></h3><p>Contains the target architecture name (CPU and optional ABI).</p><h2 id="jit_util">The jit.util.* Library</h2><p>This library holds many utility functions used by the providedextension modules for LuaJIT (e.g. the optimizer). The API maychange in future versions.</p><h3 id="jit_util_stats"><tt>stats = jit.util.stats(func)</tt></h3><p>Retrieves information about a function. Returns <tt>nil</tt>for C functions. Returns a table with the following fields forLua functions:</p><ul><li><tt>status</tt>: numeric compilation status (see <tt>jit.util.status</tt>).</li><li><tt>stackslots</tt>: number of stack slots.</li><li><tt>params</tt>: number of fixed parameters (arguments).</li><li><tt>consts</tt>: number of constants.</li><li><tt>upvalues</tt>: number of upvalues.</li><li><tt>subs</tt>: number of subfunctions (sub prototypes).</li><li><tt>bytecodes</tt>: number of bytecode instructions.</li><li><tt>isvararg</tt>: fixarg (false) or vararg (true) function.</li><li><tt>env</tt>: function environment table.</li><li><tt>mcodesize</tt>: size of the compiled machine code.</li><li><tt>mcodeaddr</tt>: start address of the compiled machine code.</li></ul><p><tt>mcodesize</tt> and <tt>mcodeaddr</tt> are not set if thefunction has not been compiled (yet).</p><h3 id="jit_util_bytecode"><tt>op, a, b, c, test = jit.util.bytecode(func, pc)</tt></h3><p>Returns the fields of the bytecode instruction at the given <tt>pc</tt>for a Lua function. The first instruction is at <tt>pc</tt> = 1.Nothing is returned if <tt>pc</tt> is out of range.</p><p>The opcode name is returned as an uppercase string in <tt>op</tt>.The opcode arguments are returned as <tt>a</tt>, <tt>b</tt> andoptionally <tt>c</tt>. Arguments that indicate an index into thearray of constants are translated to negative numbers (the firstconstant is referred to with -1). Branch targets are signed numbersrelative to the next instruction.</p><p><tt>test</tt> is true if the instruction is a test (i.e. followedby a JMP).</p><h3 id="jit_util_const"><tt>const, ok = jit.util.const(func, idx)</tt></h3><p>Returns a constant from the array of constants for a Lua function.<tt>ok</tt> is true if <tt>idx</tt> is in range. Otherwise nothingis returned.</p><p>Constants are numbered starting with 1. A negative <tt>idx</tt>is mapped to a positive index.</p><h3 id="jit_util_upvalue"><tt>upvalue, ok = jit.util.upvalue(func, idx)</tt></h3><p>Returns an upvalue from the array of upvalues for a Lua function.<tt>ok</tt> is true if <tt>idx</tt> is in range. Otherwise nothingis returned. Upvalues are numbered starting with 0.</p><h3 id="jit_util_closurenup"><tt>nup = jit.util.closurenup(func, idx)</tt></h3><p>Returns the number of upvalues for the subfunction prototype withthe given index <tt>idx</tt> for a Lua function. Nothing is returnedif <tt>idx</tt> is out of range. Subfunctions are numbered startingwith 0.</p><h3 id="jit_util_mcode"><tt>addr, mcode, mfmiter = jit.util.mcode(func, block])</tt></h3><p>Returns the numeric start address, the compiled machine code(converted to a string) and an iterator for the machine code fragment mapfor the specified machine code block associated with a Lua function.</p><p>Returns <tt>nil</tt> and a numeric status code (see <tt>jit.util.status</tt>)if the function has not been compiled yet or compilation has failedor compilation is disabled. Returns nothing if the selectedmachine code block does not exist.</p><p>The machine code fragment map is used for debugging and error handling.The format may change between versions and is an internal implementationdetail of LuaJIT.</p><h3 id="jit_util_jsubmcode"><tt>addr [, mcode] = jit.util.jsubmcode([idx])</tt></h3><p>If <tt>idx</tt> is omitted or nil:Returns the numeric start address and the compiled machine code(converted to a string) for internal subroutines used by thecompiled machine code.</p><p>If <tt>idx</tt> is given:Returns the numeric start address of the machine code for a specificinternal subroutine (0&nbsp;based). Nothing is returned if <tt>idx</tt> isout of range.</p><h3 id="jit_util_status"><tt>jit.util.status</tt></h3><p>This is a table that bidirectionally maps status numbers andstatus names (strings):</p><table><tr class="sthead"><td class="stname">Status Name</td><td>Description</td></tr><tr class="odd"><td class="stname">OK</td><td>Ok, code has been compiled.</td></tr><tr class="even"><td class="stname">NONE</td><td>Nothing analyzed or compiled, yet (default).</td></tr><tr class="odd"><td class="stname">OFF</td><td>Compilation disabled for this function.</td></tr><tr class="even"><td class="stname">ENGINE_OFF</td><td>JIT engine is turned off.</td></tr><tr class="odd"><td class="stname">DELAYED</td><td>Compilation delayed (recursive invocation).</td></tr><tr class="even"><td class="stname">TOOLARGE</td><td>Bytecode or machine code is too large.</td></tr><tr class="odd"><td class="stname">COMPILER_ERROR</td><td>Error from compiler frontend.</td></tr><tr class="even"><td class="stname">DASM_ERROR</td><td>Error from DynASM engine.</td></tr></table><h3 id="jit_util_hints"><tt>jit.util.hints<br>jit.util.fhints</tt></h3><p>These two tables map compiler hint names to internal hint numbers.</p><p>The hint system is an internal implementation detail of LuaJIT.Please see the source code for more info.</p><br class="flush"></div><div id="foot"><hr class="hide">Copyright &copy; 2005-2007 Mike Pall<span class="noprint">&middot;<a href="contact.html">Contact</a></span></div></body></html>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日本丶国产丶欧美色综合| 国产精品久久久久aaaa樱花| 天天综合色天天综合色h| 在线看不卡av| 亚洲一区中文日韩| 91精品国产色综合久久ai换脸| 亚洲综合色丁香婷婷六月图片| 欧美色图12p| 免播放器亚洲一区| 日韩三级视频中文字幕| 国产一区日韩二区欧美三区| 亚洲欧美影音先锋| 欧美综合色免费| 久久国产日韩欧美精品| 成人欧美一区二区三区1314| 欧美性三三影院| 精品中文字幕一区二区| 欧美激情在线一区二区三区| 欧美性猛交xxxx黑人交| 精品一区二区av| 亚洲精品乱码久久久久久久久| 日韩一级二级三级精品视频| 成人少妇影院yyyy| 日韩成人伦理电影在线观看| 日韩美女久久久| 久久综合九色综合欧美亚洲| 欧美综合天天夜夜久久| 国产麻豆成人传媒免费观看| 视频一区中文字幕| 亚洲国产视频一区| 亚洲欧美怡红院| 中文字幕不卡的av| 国产夜色精品一区二区av| 欧美色视频在线| 精品人在线二区三区| 91麻豆精品国产91久久久使用方法 | 波多野结衣亚洲一区| 韩国v欧美v日本v亚洲v| 婷婷综合久久一区二区三区| 亚洲欧美日韩综合aⅴ视频| 中文字幕不卡的av| 国产精品日韩成人| 国产精品久久久久久久久免费丝袜| 日韩免费电影一区| 亚洲精品一区二区在线观看| 日韩欧美国产一区二区在线播放 | 理论片日本一区| 美女在线视频一区| 美女国产一区二区三区| 奇米影视一区二区三区| 另类成人小视频在线| 激情文学综合丁香| 国产盗摄精品一区二区三区在线| 国产综合色在线| 99视频国产精品| 色婷婷香蕉在线一区二区| 欧美视频在线观看一区二区| 欧美日韩一级视频| 日韩免费看网站| 中文字幕日韩av资源站| 天天影视涩香欲综合网| 九色综合狠狠综合久久| 成人av动漫网站| 欧美人xxxx| 久久精品视频一区| 亚洲风情在线资源站| 老鸭窝一区二区久久精品| 成人av电影观看| 69堂成人精品免费视频| 国产亚洲精品bt天堂精选| 亚洲一区二区视频| 国产一区二区免费在线| 91精品国产乱码久久蜜臀| 中文一区在线播放| 奇米综合一区二区三区精品视频| 成人av网站大全| 精品国产乱码久久久久久免费 | 免费日韩伦理电影| 欧美性色aⅴ视频一区日韩精品| 精品盗摄一区二区三区| 午夜久久久久久久久| 在线看日韩精品电影| 欧美激情一区二区三区不卡| 奇米综合一区二区三区精品视频| 91行情网站电视在线观看高清版| 欧美大片在线观看| 蜜桃视频一区二区三区在线观看 | 国产在线不卡视频| 欧美精品一区二区在线播放| 蜜芽一区二区三区| 亚洲欧美日韩综合aⅴ视频| 日韩欧美一区在线观看| 狠狠色丁香久久婷婷综合丁香| 一区免费观看视频| 久久综合狠狠综合| 2021国产精品久久精品| 日韩经典中文字幕一区| 一区二区在线免费观看| 成人夜色视频网站在线观看| 亚洲一区二区三区在线播放| 久久久亚洲国产美女国产盗摄| 午夜精品免费在线| 欧美一级免费大片| 精品写真视频在线观看| 久久久久久99久久久精品网站| 国内精品免费在线观看| 精品动漫一区二区三区在线观看| 国模冰冰炮一区二区| 欧美—级在线免费片| 欧美日韩免费不卡视频一区二区三区| 亚洲日本在线看| 国产亚洲自拍一区| 91国在线观看| 成人高清免费观看| 日韩中文字幕亚洲一区二区va在线| 欧美一区二区观看视频| 国产成人av在线影院| 亚洲一区欧美一区| 国产午夜精品美女毛片视频| 欧美熟乱第一页| 色一情一乱一乱一91av| 成人综合婷婷国产精品久久| 丝瓜av网站精品一区二区| 欧美精品在线一区二区三区| 色综合久久综合| 色综合天天综合在线视频| 99久久精品国产导航| 国产成人亚洲综合a∨婷婷| 国精产品一区一区三区mba桃花| 亚洲区小说区图片区qvod| 久久久久成人黄色影片| 日韩你懂的在线观看| 欧美一区二区在线看| 色天使色偷偷av一区二区| 9l国产精品久久久久麻豆| 国产乱人伦偷精品视频免下载| 日本美女一区二区三区| 亚洲福利国产精品| 五月天视频一区| 青椒成人免费视频| 久久国产精品72免费观看| 国产在线精品一区二区夜色| 乱中年女人伦av一区二区| 久久99热这里只有精品| 精品在线免费观看| 国产精品自产自拍| 懂色av中文字幕一区二区三区 | 一区二区三区中文在线观看| 1000精品久久久久久久久| 久久99精品国产麻豆婷婷洗澡| 免费的国产精品| 成人一区在线观看| 在线亚洲一区观看| 91精品蜜臀在线一区尤物| 国产亚洲欧美日韩日本| 国产精品久久久久7777按摩 | 国产人久久人人人人爽| 综合自拍亚洲综合图不卡区| 亚洲va欧美va天堂v国产综合| 麻豆成人91精品二区三区| 成人黄色大片在线观看| 欧美系列一区二区| 久久精品一区四区| 亚洲一区免费在线观看| 精品一区二区三区在线播放视频 | 欧美电视剧在线看免费| 国产精品久久久久aaaa| 久久精品国产99国产| 99久久精品国产一区二区三区| 欧美一二三四区在线| 亚洲色图第一区| 国产精品乡下勾搭老头1| 欧美色综合久久| 亚洲天堂av老司机| 国产酒店精品激情| 91精品欧美综合在线观看最新| 国产精品亲子乱子伦xxxx裸| 另类成人小视频在线| 欧美日韩大陆在线| 一区二区三区四区在线免费观看| 久久99精品一区二区三区| 911精品国产一区二区在线| 日韩毛片一二三区| 99久久综合精品| 国产精品系列在线| 国产jizzjizz一区二区| 精品国产3级a| 国产一区二区三区免费观看| 欧美va日韩va| 精品亚洲免费视频| 精品国产免费久久| 国产大陆精品国产| 国产精品女同互慰在线看 | 美女视频黄频大全不卡视频在线播放| 欧美亚洲高清一区二区三区不卡| 国产亚洲综合在线| 蜜臀av一区二区在线免费观看| 国产综合色精品一区二区三区| 在线成人av网站| 东方欧美亚洲色图在线|