RELEASE LuaJIT-2.0.0-beta1
This commit is contained in:
59
src/lj_traceerr.h
Normal file
59
src/lj_traceerr.h
Normal file
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
** Trace compiler error messages.
|
||||
** Copyright (C) 2005-2009 Mike Pall. See Copyright Notice in luajit.h
|
||||
*/
|
||||
|
||||
/* This file may be included multiple times with different TREDEF macros. */
|
||||
|
||||
/* Recording. */
|
||||
TREDEF(RECERR, "error thrown or hook called during recording")
|
||||
TREDEF(TRACEOV, "trace too long")
|
||||
TREDEF(STACKOV, "trace too deep")
|
||||
TREDEF(SNAPOV, "too many snapshots")
|
||||
TREDEF(NYIBC, "NYI: bytecode %d")
|
||||
|
||||
/* Recording loop ops. */
|
||||
TREDEF(LLEAVE, "leaving loop in root trace")
|
||||
TREDEF(LINNER, "inner loop in root trace")
|
||||
TREDEF(LUNROLL, "loop unroll limit reached")
|
||||
TREDEF(LBLACKL, "blacklisted loop")
|
||||
|
||||
/* Recording calls/returns. */
|
||||
TREDEF(BADTYPE, "bad argument type")
|
||||
TREDEF(CJITOFF, "call to JIT-disabled function")
|
||||
TREDEF(CUNROLL, "call unroll limit reached")
|
||||
TREDEF(NYIRECU, "NYI: recursive calls")
|
||||
TREDEF(NYILNKF, "NYI: linking/patching function calls")
|
||||
TREDEF(NYIVF, "NYI: vararg function")
|
||||
TREDEF(NYICF, "NYI: C function %p")
|
||||
TREDEF(NYIFF, "NYI: FastFunc %s")
|
||||
TREDEF(NYIFFU, "NYI: unsupported variant of FastFunc %s")
|
||||
TREDEF(NYIRETL, "NYI: return to lower frame")
|
||||
|
||||
/* Recording indexed load/store. */
|
||||
TREDEF(STORENN, "store with nil or NaN key")
|
||||
TREDEF(NOMM, "missing metamethod")
|
||||
TREDEF(IDXLOOP, "looping index lookup")
|
||||
TREDEF(NYITMIX, "NYI: mixed sparse/dense table")
|
||||
|
||||
/* Optimizations. */
|
||||
TREDEF(GFAIL, "guard would always fail")
|
||||
TREDEF(PHIOV, "too many PHIs")
|
||||
TREDEF(TYPEINS, "persistent type instability")
|
||||
|
||||
/* Assembler. */
|
||||
TREDEF(MCODEAL, "failed to allocate mcode memory")
|
||||
TREDEF(MCODEOV, "machine code too long")
|
||||
TREDEF(MCODELM, "hit mcode limit (retrying)")
|
||||
TREDEF(SPILLOV, "too many spill slots")
|
||||
TREDEF(BADRA, "inconsistent register allocation")
|
||||
TREDEF(NYIIR, "NYI: cannot assemble IR instruction %d")
|
||||
TREDEF(NYIPHI, "NYI: PHI shuffling too complex")
|
||||
TREDEF(NYICOAL, "NYI: register coalescing too complex")
|
||||
TREDEF(NYIGCF, "NYI: gcstep sync with frames")
|
||||
|
||||
#undef TREDEF
|
||||
|
||||
/* Detecting unused error messages:
|
||||
awk -F, '/^TREDEF/ { gsub(/TREDEF./, ""); printf "grep -q LJ_TRERR_%s *.[ch] || echo %s\n", $1, $1}' lj_traceerr.h | sh
|
||||
*/
|
||||
Reference in New Issue
Block a user