mirror of
https://github.com/love2d/megasource.git
synced 2026-08-12 08:30:59 +02:00
44ba332ebe
* Clang for Windows is no longer required. Instead it requires GCC + multilib in the WSL distro. * It will try to use Windows's installed LuaJIT, then fallback to WSL's LuaJIT. If none is found, an error will be thrown. * Add luajit.h include file as byproducts.
18 lines
717 B
Lua
18 lines
717 B
Lua
----------------------------------------------------------------------------
|
|
-- LuaJIT MIPS64EL disassembler wrapper module.
|
|
--
|
|
-- Copyright (C) 2005-2023 Mike Pall. All rights reserved.
|
|
-- Released under the MIT license. See Copyright Notice in luajit.h
|
|
----------------------------------------------------------------------------
|
|
-- This module just exports the little-endian functions from the
|
|
-- MIPS disassembler module. All the interesting stuff is there.
|
|
------------------------------------------------------------------------------
|
|
|
|
local dis_mips = require((string.match(..., ".*%.") or "").."dis_mips")
|
|
return {
|
|
create = dis_mips.create_el,
|
|
disass = dis_mips.disass_el,
|
|
regname = dis_mips.regname
|
|
}
|
|
|