-
Notifications
You must be signed in to change notification settings - Fork 1
/
luajit_nyi.yaml
33 lines (32 loc) · 1.5 KB
/
luajit_nyi.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
rules:
- id: luajit_nyi
metadata:
author: Sergey Bronnikov <estetus@gmail.com>
description: Function is not JIT-compiled.
references:
- https://github.com/tarantool/tarantool/wiki/LuaJIT-Not-Yet-Implemented
- http://web.archive.org/web/20220717120825/http://wiki.luajit.org/NYI
pattern-either:
- pattern: dofile(...) # never 2.1 stitch
- pattern: error(...) # never
- pattern: load(...) # never 2.1 stitch
- pattern: loadfile(...) # never 2.1 stitch
- pattern: loadstring(...) # never 2.1 stitch
- pattern: string.dump(...) # never 2.1 stitch
- pattern: ffi.cdef(...) # never 2.1 stitch
- pattern: ffi.load(...) # never 2.1 stitch
- pattern: ffi.metatype(...) # never 2.1 stitch
- pattern: debug.$FUNC(...) # never
- pattern: jit.$FUNC(...) # never
- pattern: os.$FUNC(...) # never
- pattern: package.$FUNC(...) # never
- pattern: coroutine.$FUNC(...) # never
- pattern: buffer.encode(...)
- pattern: buffer.decode(...)
message: |
All aspects of Lua are implemented in LuaJIT's interpreter, but not all of
them are implemented in LuaJIT's JIT compiler.
This function is not JIT-compiled (yet), will always fall back to the
interpreter or will not be JIT-compiled, even in future versions.
languages: [lua]
severity: INFO