1
0
mirror of https://github.com/janet-lang/janet synced 2026-04-29 18:21:27 +00:00

Add some inlining for a few builtins.

This commit is contained in:
Calvin Rose
2018-07-01 19:35:45 -04:00
parent f1e1b89c67
commit 79225ad3d5
6 changed files with 208 additions and 88 deletions

View File

@@ -459,8 +459,10 @@ struct DstKV {
};
/* Some function defintion flags */
#define DST_FUNCDEF_FLAG_VARARG 1
#define DST_FUNCDEF_FLAG_NEEDSENV 4
#define DST_FUNCDEF_FLAG_VARARG 0x10000
#define DST_FUNCDEF_FLAG_NEEDSENV 0x20000
#define DST_FUNCDEF_FLAG_FIXARITY 0x40000
#define DST_FUNCDEF_FLAG_TAG 0xFFFF
/* Source mapping structure for a bytecode instruction */
struct DstSourceMapping {