Mercurial > vim
comparison src/proto/vim9instr.pro @ 26662:4b23672d1f0e v8.2.3860
patch 8.2.3860: Vim9: codecov struggles with the file size
Commit: https://github.com/vim/vim/commit/dc7c366f3aae65ee691010b08f37acfb26e0742b
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Dec 20 15:04:29 2021 +0000
patch 8.2.3860: Vim9: codecov struggles with the file size
Problem: Vim9: codecov struggles with the file size.
Solution: Split vim9compile.c into four files.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 20 Dec 2021 16:15:03 +0100 |
parents | |
children | b969fdb8cd46 |
comparison
equal
deleted
inserted
replaced
26661:8b19a317eec8 | 26662:4b23672d1f0e |
---|---|
1 /* vim9instr.c */ | |
2 isn_T *generate_instr(cctx_T *cctx, isntype_T isn_type); | |
3 isn_T *generate_instr_drop(cctx_T *cctx, isntype_T isn_type, int drop); | |
4 isn_T *generate_instr_type(cctx_T *cctx, isntype_T isn_type, type_T *type); | |
5 isn_T *generate_instr_debug(cctx_T *cctx); | |
6 int may_generate_2STRING(int offset, int tolerant, cctx_T *cctx); | |
7 int generate_add_instr(cctx_T *cctx, vartype_T vartype, type_T *type1, type_T *type2, exprtype_T expr_type); | |
8 vartype_T operator_type(type_T *type1, type_T *type2); | |
9 int generate_two_op(cctx_T *cctx, char_u *op); | |
10 int check_compare_types(exprtype_T type, typval_T *tv1, typval_T *tv2); | |
11 int generate_COMPARE(cctx_T *cctx, exprtype_T exprtype, int ic); | |
12 int generate_2BOOL(cctx_T *cctx, int invert, int offset); | |
13 int generate_COND2BOOL(cctx_T *cctx); | |
14 int generate_TYPECHECK(cctx_T *cctx, type_T *expected, int offset, int argidx); | |
15 int generate_SETTYPE(cctx_T *cctx, type_T *expected); | |
16 int generate_tv_PUSH(cctx_T *cctx, typval_T *tv); | |
17 int generate_PUSHNR(cctx_T *cctx, varnumber_T number); | |
18 int generate_PUSHBOOL(cctx_T *cctx, varnumber_T number); | |
19 int generate_PUSHSPEC(cctx_T *cctx, varnumber_T number); | |
20 int generate_PUSHF(cctx_T *cctx, float_T fnumber); | |
21 int generate_PUSHS(cctx_T *cctx, char_u **str); | |
22 int generate_PUSHCHANNEL(cctx_T *cctx, channel_T *channel); | |
23 int generate_PUSHJOB(cctx_T *cctx, job_T *job); | |
24 int generate_PUSHBLOB(cctx_T *cctx, blob_T *blob); | |
25 int generate_PUSHFUNC(cctx_T *cctx, char_u *name, type_T *type); | |
26 int generate_GETITEM(cctx_T *cctx, int index, int with_op); | |
27 int generate_SLICE(cctx_T *cctx, int count); | |
28 int generate_CHECKLEN(cctx_T *cctx, int min_len, int more_OK); | |
29 int generate_STORE(cctx_T *cctx, isntype_T isn_type, int idx, char_u *name); | |
30 int generate_STOREOUTER(cctx_T *cctx, int idx, int level); | |
31 int generate_STORENR(cctx_T *cctx, int idx, varnumber_T value); | |
32 int generate_STOREOPT(cctx_T *cctx, isntype_T isn_type, char_u *name, int opt_flags); | |
33 int generate_LOAD(cctx_T *cctx, isntype_T isn_type, int idx, char_u *name, type_T *type); | |
34 int generate_LOADOUTER(cctx_T *cctx, int idx, int nesting, type_T *type); | |
35 int generate_LOADV(cctx_T *cctx, char_u *name, int error); | |
36 int generate_UNLET(cctx_T *cctx, isntype_T isn_type, char_u *name, int forceit); | |
37 int generate_LOCKCONST(cctx_T *cctx); | |
38 int generate_OLDSCRIPT(cctx_T *cctx, isntype_T isn_type, char_u *name, int sid, type_T *type); | |
39 int generate_VIM9SCRIPT(cctx_T *cctx, isntype_T isn_type, int sid, int idx, type_T *type); | |
40 int generate_NEWLIST(cctx_T *cctx, int count); | |
41 int generate_NEWDICT(cctx_T *cctx, int count); | |
42 int generate_FUNCREF(cctx_T *cctx, ufunc_T *ufunc); | |
43 int generate_NEWFUNC(cctx_T *cctx, char_u *lambda_name, char_u *func_name); | |
44 int generate_DEF(cctx_T *cctx, char_u *name, size_t len); | |
45 int generate_JUMP(cctx_T *cctx, jumpwhen_T when, int where); | |
46 int generate_JUMP_IF_ARG_SET(cctx_T *cctx, int arg_off); | |
47 int generate_FOR(cctx_T *cctx, int loop_idx); | |
48 int generate_TRYCONT(cctx_T *cctx, int levels, int where); | |
49 int generate_BCALL(cctx_T *cctx, int func_idx, int argcount, int method_call); | |
50 int generate_LISTAPPEND(cctx_T *cctx); | |
51 int generate_BLOBAPPEND(cctx_T *cctx); | |
52 int generate_CALL(cctx_T *cctx, ufunc_T *ufunc, int pushed_argcount); | |
53 int generate_UCALL(cctx_T *cctx, char_u *name, int argcount); | |
54 int generate_PCALL(cctx_T *cctx, int argcount, char_u *name, type_T *type, int at_top); | |
55 int generate_STRINGMEMBER(cctx_T *cctx, char_u *name, size_t len); | |
56 int generate_ECHO(cctx_T *cctx, int with_white, int count); | |
57 int generate_MULT_EXPR(cctx_T *cctx, isntype_T isn_type, int count); | |
58 int generate_PUT(cctx_T *cctx, int regname, linenr_T lnum); | |
59 int generate_EXEC_copy(cctx_T *cctx, isntype_T isntype, char_u *line); | |
60 int generate_EXEC(cctx_T *cctx, isntype_T isntype, char_u *str); | |
61 int generate_LEGACY_EVAL(cctx_T *cctx, char_u *line); | |
62 int generate_EXECCONCAT(cctx_T *cctx, int count); | |
63 int generate_RANGE(cctx_T *cctx, char_u *range); | |
64 int generate_UNPACK(cctx_T *cctx, int var_count, int semicolon); | |
65 int generate_cmdmods(cctx_T *cctx, cmdmod_T *cmod); | |
66 int generate_undo_cmdmods(cctx_T *cctx); | |
67 int generate_store_var(cctx_T *cctx, assign_dest_T dest, int opt_flags, int vimvaridx, int scriptvar_idx, int scriptvar_sid, type_T *type, char_u *name); | |
68 int generate_store_lhs(cctx_T *cctx, lhs_T *lhs, int instr_count); | |
69 void may_generate_prof_end(cctx_T *cctx, int prof_lnum); | |
70 void delete_instr(isn_T *isn); | |
71 void clear_instr_ga(garray_T *gap); | |
72 /* vim: set ft=c : */ |