📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-22 06:31:20
📂
/ (Root)
/
opt
/
alt
/
ruby19
/
share
/
doc
/
ruby
/
html
/
dc
/
d92
📍 /opt/alt/ruby19/share/doc/ruby/html/dc/d92
🔄 Refresh
✏️
Editing: vm__opts_8h_source.html
Read Only
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.14"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>Ruby: vm_opts.h Source File</title> <link href="../../tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="../../jquery.js"></script> <script type="text/javascript" src="../../dynsections.js"></script> <link href="../../doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">Ruby  <span id="projectnumber">1.9.3p551(2014-11-13revision48407)</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.14 --> <script type="text/javascript" src="../../menudata.js"></script> <script type="text/javascript" src="../../menu.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('../../',false,false,'search.php','Search'); }); /* @license-end */</script> <div id="main-nav"></div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">vm_opts.h</div> </div> </div><!--header--> <div class="contents"> <a href="../../dc/d92/vm__opts_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*-*-c-*-*/</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">/**********************************************************************</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"></span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> vm_opts.h - VM optimize option</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"></span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> $Author: akr $</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"></span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> Copyright (C) 2004-2007 Koichi Sasada</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"></span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">**********************************************************************/</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> </div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#ifndef RUBY_VM_OPTS_H</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#define RUBY_VM_OPTS_H</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment">/* Compile options.</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * You can change these options at runtime by VM::CompileOption.</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> * Following definitions are default values.</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> */</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> </div><div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="../../dc/d92/vm__opts_8h.html#a6d2a5c6a35b66d6ff55870f2052b1a8f"> 21</a></span> <span class="preprocessor">#define OPT_TRACE_INSTRUCTION 1</span></div><div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="../../dc/d92/vm__opts_8h.html#a22063446d9ab9364f36baebb8921dc9b"> 22</a></span> <span class="preprocessor">#define OPT_TAILCALL_OPTIMIZATION 0</span></div><div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="../../dc/d92/vm__opts_8h.html#a217b12bfa390b300e52328795d25d339"> 23</a></span> <span class="preprocessor">#define OPT_PEEPHOLE_OPTIMIZATION 1</span></div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="../../dc/d92/vm__opts_8h.html#afcfe238b3947693922f990521cb856c3"> 24</a></span> <span class="preprocessor">#define OPT_SPECIALISED_INSTRUCTION 1</span></div><div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="../../dc/d92/vm__opts_8h.html#a463eb05760f59ef0acdf2d3633b1fa44"> 25</a></span> <span class="preprocessor">#define OPT_INLINE_CONST_CACHE 1</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="comment">/* Build Options.</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="comment"> * You can't change these options at runtime.</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment"> */</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="comment">/* C compiler depend */</span></div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="../../dc/d92/vm__opts_8h.html#a15e8b7ccd95397a3f229c79330d403ac"> 33</a></span> <span class="preprocessor">#define OPT_DIRECT_THREADED_CODE 1</span></div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="../../dc/d92/vm__opts_8h.html#a4844728fdc049d0cff8a0e23caf49894"> 34</a></span> <span class="preprocessor">#define OPT_TOKEN_THREADED_CODE 0</span></div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="../../dc/d92/vm__opts_8h.html#a1f472a963142e28f57d0493f8df2c3fa"> 35</a></span> <span class="preprocessor">#define OPT_CALL_THREADED_CODE 0</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="comment">/* VM running option */</span></div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="../../dc/d92/vm__opts_8h.html#a4de0bf1d756b9ff3c5d424df560fec65"> 38</a></span> <span class="preprocessor">#define OPT_CHECKED_RUN 1</span></div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="../../dc/d92/vm__opts_8h.html#a600e7cf878cdc8f4e1ba4622e8369878"> 39</a></span> <span class="preprocessor">#define OPT_INLINE_METHOD_CACHE 1</span></div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="../../dc/d92/vm__opts_8h.html#a3ca6f0c76fee540bc73fde322d87f9a9"> 40</a></span> <span class="preprocessor">#define OPT_BLOCKINLINING 0</span></div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="comment">/* architecture independent, affects generated code */</span></div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="../../dc/d92/vm__opts_8h.html#a2b015a48ae1a9f11481f266ed03e6414"> 43</a></span> <span class="preprocessor">#define OPT_OPERANDS_UNIFICATION 0</span></div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="../../dc/d92/vm__opts_8h.html#a9aa4eb2a874265cb8a33d26482de903a"> 44</a></span> <span class="preprocessor">#define OPT_INSTRUCTIONS_UNIFICATION 0</span></div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="../../dc/d92/vm__opts_8h.html#abe6e0e3cbfbea4cf687ca8ccd70c5447"> 45</a></span> <span class="preprocessor">#define OPT_UNIFY_ALL_COMBINATION 0</span></div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="../../dc/d92/vm__opts_8h.html#ae1ded4471910adbc5bbe8e6566469341"> 46</a></span> <span class="preprocessor">#define OPT_STACK_CACHING 0</span></div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> </div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="comment">/* misc */</span></div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="../../dc/d92/vm__opts_8h.html#a9d65564cea787236cc13927dbc915aef"> 49</a></span> <span class="preprocessor">#define SUPPORT_JOKE 0</span></div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> </div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="preprocessor">#endif </span><span class="comment">/* RUBY_VM_OPTS_H */</span><span class="preprocessor"></span></div></div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="../../doxygen.png" alt="doxygen"/> </a> 1.8.14 </small></address> </body> </html>
💾 Save Changes
❌ Cancel