summaryrefslogtreecommitdiff
path: root/libs/luajit-cmake/luajit/src/jit/dis_mips64el.lua
diff options
context:
space:
mode:
Diffstat (limited to 'libs/luajit-cmake/luajit/src/jit/dis_mips64el.lua')
-rw-r--r--libs/luajit-cmake/luajit/src/jit/dis_mips64el.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/libs/luajit-cmake/luajit/src/jit/dis_mips64el.lua b/libs/luajit-cmake/luajit/src/jit/dis_mips64el.lua
new file mode 100644
index 0000000..7c478d2
--- /dev/null
+++ b/libs/luajit-cmake/luajit/src/jit/dis_mips64el.lua
@@ -0,0 +1,17 @@
+----------------------------------------------------------------------------
+-- LuaJIT MIPS64EL disassembler wrapper module.
+--
+-- Copyright (C) 2005-2022 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
+}
+