/polymer/eduke32/source/lunatic/dis_x64.lua |
---|
1,7 → 1,7 |
---------------------------------------------------------------------------- |
-- LuaJIT x64 disassembler wrapper module. |
-- |
-- Copyright (C) 2005-2013 Mike Pall. All rights reserved. |
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved. |
-- Released under the MIT license. See Copyright Notice in luajit.h |
---------------------------------------------------------------------------- |
-- This module just exports the 64 bit functions from the combined |
/polymer/eduke32/source/lunatic/dis_x86.lua |
---|
1,7 → 1,7 |
---------------------------------------------------------------------------- |
-- LuaJIT x86/x64 disassembler module. |
-- |
-- Copyright (C) 2005-2013 Mike Pall. All rights reserved. |
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved. |
-- Released under the MIT license. See Copyright Notice in luajit.h |
---------------------------------------------------------------------------- |
-- This is a helper module used by the LuaJIT machine code dumper module. |
/polymer/eduke32/source/lunatic/dump.lua |
---|
1,7 → 1,7 |
---------------------------------------------------------------------------- |
-- LuaJIT compiler dump module. |
-- |
-- Copyright (C) 2005-2013 Mike Pall. All rights reserved. |
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved. |
-- Released under the MIT license. See Copyright Notice in luajit.h |
---------------------------------------------------------------------------- |
-- |
36,6 → 36,7 |
-- * m Dump the generated machine code. |
-- x Print each taken trace exit. |
-- X Print each taken trace exit and the contents of all registers. |
-- a Print the IR of aborted traces, too. |
-- |
-- The output format can be set with the following characters: |
-- |
54,7 → 55,7 |
-- Cache some library functions and objects. |
local jit = require("jit") |
assert(jit.version_num == 20002, "LuaJIT core/library version mismatch") |
assert(jit.version_num == 20003, "LuaJIT core/library version mismatch") |
local jutil = require("jit.util") |
local vmdef = require("jit.vmdef") |
local funcinfo, funcbc = jutil.funcinfo, jutil.funcbc |
546,10 → 547,8 |
out:write("---- TRACE ", tr, " ", what) |
if otr then out:write(" ", otr, "/", oex) end |
out:write(" ", fmtfunc(func, pc), "\n") |
recprefix = "" |
elseif what == "stop" or what == "abort" then |
out:write("---- TRACE ", tr, " ", what) |
recprefix = nil |
if what == "abort" then |
out:write(" ", fmtfunc(func, pc), " -- ", fmterr(otr, oex), "\n") |
else |
/polymer/eduke32/source/lunatic/v.lua |
---|
1,7 → 1,7 |
---------------------------------------------------------------------------- |
-- Verbose mode of the LuaJIT compiler. |
-- |
-- Copyright (C) 2005-2013 Mike Pall. All rights reserved. |
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved. |
-- Released under the MIT license. See Copyright Notice in luajit.h |
---------------------------------------------------------------------------- |
-- |
59,7 → 59,7 |
-- Cache some library functions and objects. |
local jit = require("jit") |
assert(jit.version_num == 20002, "LuaJIT core/library version mismatch") |
assert(jit.version_num == 20003, "LuaJIT core/library version mismatch") |
local jutil = require("jit.util") |
local vmdef = require("jit.vmdef") |
local funcinfo, traceinfo = jutil.funcinfo, jutil.traceinfo |