src/jit/dis_x64.lua - luajit-2.0-src

  1. ----------------------------------------------------------------------------
  2. -- LuaJIT x64 disassembler wrapper module.
  3. --
  4. -- Copyright (C) 2005-2015 Mike Pall. All rights reserved.
  5. -- Released under the MIT license. See Copyright Notice in luajit.h
  6. ----------------------------------------------------------------------------
  7. -- This module just exports the 64 bit functions from the combined
  8. -- x86/x64 disassembler module. All the interesting stuff is there.
  9. ------------------------------------------------------------------------------

  10. local dis_x86 = require((string.match(..., ".*%.") or "").."dis_x86")
  11. return {
  12.   create = dis_x86.create64,
  13.   disass = dis_x86.disass64,
  14.   regname = dis_x86.regname64
  15. }