diff options
author | Mike Pall <mike> | 2010-09-12 01:37:02 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2010-09-12 01:44:13 +0200 |
commit | c2c08ba9b33ed89feb190aa3484bf2360db779a0 (patch) | |
tree | f657ced04905297363784bdaf15e5855b2c6b6b0 /src/lj_traceerr.h | |
parent | b72ae54dc0d2bf63f23f0b9a47238ea96b0239ed (diff) | |
download | luajit-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.h | 1 |
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") | |||
23 | TREDEF(CJITOFF, "call to JIT-disabled function") | 23 | TREDEF(CJITOFF, "call to JIT-disabled function") |
24 | TREDEF(CUNROLL, "call unroll limit reached") | 24 | TREDEF(CUNROLL, "call unroll limit reached") |
25 | TREDEF(DOWNREC, "down-recursion, restarting") | 25 | TREDEF(DOWNREC, "down-recursion, restarting") |
26 | TREDEF(NYIVF, "NYI: vararg function") | ||
27 | TREDEF(NYICF, "NYI: C function %p") | 26 | TREDEF(NYICF, "NYI: C function %p") |
28 | TREDEF(NYIFF, "NYI: FastFunc %s") | 27 | TREDEF(NYIFF, "NYI: FastFunc %s") |
29 | TREDEF(NYIFFU, "NYI: unsupported variant of FastFunc %s") | 28 | TREDEF(NYIFFU, "NYI: unsupported variant of FastFunc %s") |