diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/extensions.html | 5 | ||||
-rw-r--r-- | doc/install.html | 11 |
2 files changed, 7 insertions, 9 deletions
diff --git a/doc/extensions.html b/doc/extensions.html index 6d3518ea..35bd6c92 100644 --- a/doc/extensions.html +++ b/doc/extensions.html | |||
@@ -208,9 +208,8 @@ bytecode (e.g. from Lua 5.1) is incompatible and cannot be loaded. | |||
208 | </p> | 208 | </p> |
209 | <p> | 209 | <p> |
210 | Note: <tt>LJ_GC64</tt> mode requires a different frame layout, which implies | 210 | Note: <tt>LJ_GC64</tt> mode requires a different frame layout, which implies |
211 | a different, incompatible bytecode format for ports that use this mode (e.g. | 211 | a different, incompatible bytecode format for all 64 bit ports. This may be |
212 | ARM64 or MIPS64) or when explicitly enabled for x64. This may be rectified | 212 | rectified in the future. |
213 | in the future. | ||
214 | </p> | 213 | </p> |
215 | 214 | ||
216 | <h3 id="table_new"><tt>table.new(narray, nhash)</tt> allocates a pre-sized table</h3> | 215 | <h3 id="table_new"><tt>table.new(narray, nhash)</tt> allocates a pre-sized table</h3> |
diff --git a/doc/install.html b/doc/install.html index 49d6e9ed..9e00b231 100644 --- a/doc/install.html +++ b/doc/install.html | |||
@@ -175,12 +175,11 @@ Please read the instructions given in these files, before changing | |||
175 | any settings. | 175 | any settings. |
176 | </p> | 176 | </p> |
177 | <p> | 177 | <p> |
178 | LuaJIT on x64 currently uses 32 bit GC objects by default. | 178 | All LuaJIT 64 bit ports use 64 bit GC objects by default (<tt>LJ_GC64</tt>). |
179 | <tt>LJ_GC64</tt> mode may be explicitly enabled: | 179 | For x64, you can select the old 32-on-64 bit mode by adding |
180 | add <tt>XCFLAGS=-DLUAJIT_ENABLE_GC64</tt> to the make command or run | 180 | <tt>XCFLAGS=-DLUAJIT_DISABLE_GC64</tt> to the make command. |
181 | <tt>msvcbuild gc64</tt> for MSVC/WinSDK. Please check the note | 181 | Please check the note about the |
182 | about the <a href="extensions.html#string_dump">bytecode format</a> | 182 | <a href="extensions.html#string_dump">bytecode format</a> differences, too. |
183 | differences, too. | ||
184 | </p> | 183 | </p> |
185 | 184 | ||
186 | <h2 id="posix">POSIX Systems (Linux, OSX, *BSD etc.)</h2> | 185 | <h2 id="posix">POSIX Systems (Linux, OSX, *BSD etc.)</h2> |