summaryrefslogtreecommitdiff
path: root/src/lj_traceerr.h
diff options
context:
space:
mode:
authorMike Pall <mike>2010-09-12 01:37:02 +0200
committerMike Pall <mike>2010-09-12 01:44:13 +0200
commitc2c08ba9b33ed89feb190aa3484bf2360db779a0 (patch)
treef657ced04905297363784bdaf15e5855b2c6b6b0 /src/lj_traceerr.h
parentb72ae54dc0d2bf63f23f0b9a47238ea96b0239ed (diff)
downloadluajit-c2c08ba9b33ed89feb190aa3484bf2360db779a0.tar.gz
luajit-c2c08ba9b33ed89feb190aa3484bf2360db779a0.tar.bz2
luajit-c2c08ba9b33ed89feb190aa3484bf2360db779a0.zip
Record calls to vararg functions.
This loop is now roughly 1000x faster than the Lua interpreter: local function f(a,b,...) end; for i=1,2e8 do f(1,2,i) end Yet another silly microbenchmark -- I know.
Diffstat (limited to 'src/lj_traceerr.h')
-rw-r--r--src/lj_traceerr.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lj_traceerr.h b/src/lj_traceerr.h
index 1b0df055..9bfdadc6 100644
--- a/src/lj_traceerr.h
+++ b/src/lj_traceerr.h
@@ -23,7 +23,6 @@ TREDEF(BADTYPE, "bad argument type")
23TREDEF(CJITOFF, "call to JIT-disabled function") 23TREDEF(CJITOFF, "call to JIT-disabled function")
24TREDEF(CUNROLL, "call unroll limit reached") 24TREDEF(CUNROLL, "call unroll limit reached")
25TREDEF(DOWNREC, "down-recursion, restarting") 25TREDEF(DOWNREC, "down-recursion, restarting")
26TREDEF(NYIVF, "NYI: vararg function")
27TREDEF(NYICF, "NYI: C function %p") 26TREDEF(NYICF, "NYI: C function %p")
28TREDEF(NYIFF, "NYI: FastFunc %s") 27TREDEF(NYIFF, "NYI: FastFunc %s")
29TREDEF(NYIFFU, "NYI: unsupported variant of FastFunc %s") 28TREDEF(NYIFFU, "NYI: unsupported variant of FastFunc %s")