Denys Vlasenko
|
f093e3df2d
bc: zcommon_parse_expr() lost its flags argument
|
6 years ago |
Denys Vlasenko
|
39287e0d02
bc: stop using BC_PARSE_NOCALL in dc code
|
6 years ago |
Denys Vlasenko
|
8c1e723596
bc: unbreak read(), remove checks for nested read()
|
6 years ago |
Denys Vlasenko
|
1dc4de9d9b
bc: code shrink
|
6 years ago |
Denys Vlasenko
|
24e4194635
bc: rename BcInstPtr::idx and ::len
|
6 years ago |
Denys Vlasenko
|
8287b1c869
bc: remove unnecessary initializations
|
6 years ago |
Denys Vlasenko
|
e8e7bda63a
bc: use non-allocated BcNum's where appropriate
|
6 years ago |
Denys Vlasenko
|
6ed7fb0a87
bc: optimize bc_vec_push() usage
|
6 years ago |
Denys Vlasenko
|
19eee8ed7c
bc: fix for() to not leave data on stack
|
6 years ago |
Denys Vlasenko
|
5d57bc442d
bc: fix infinite state growth for "yes 1 | bc" case
|
6 years ago |
Denys Vlasenko
|
447dc02c27
bc: fix comment
|
6 years ago |
Denys Vlasenko
|
52caa007e3
bc: for(;;) fix from upstream
|
6 years ago |
Denys Vlasenko
|
047154472a
bc: shrink bc_program_add_fn()
|
6 years ago |
Denys Vlasenko
|
44a99ca617
bc: "dc only" config does not need G.prog.fn_map
|
6 years ago |
Denys Vlasenko
|
5acd14ba5b
bc: fix keyword matching to not think "ifz" is the "if" keyword
|
6 years ago |
Denys Vlasenko
|
503faf9d53
bc: shrink "dc only" code by dropping unused structure members
|
6 years ago |
Denys Vlasenko
|
eaa3b00002
bc: shorten bc_program_addFunc()
|
6 years ago |
Denys Vlasenko
|
408b7d45f6
bc: fix "dc only" and "bc only" configs
|
6 years ago |
Denys Vlasenko
|
fa21079183
bc: rename dc-specific functions, simplify zdc_program_execStr() a bit
|
6 years ago |
Denys Vlasenko
|
44dbe675dd
bc: rename zbc_parse_string->bc_parse_pushSTR, do not emit next opcode in it
|
6 years ago |
Denys Vlasenko
|
ea5cad2a0d
bc: avoid bc_vec_item() calls in bc_vm_run()
|
6 years ago |
Denys Vlasenko
|
eac0de55d6
bc: avoid bc_vec_item() calls in bc_array_copy()
|
6 years ago |
Denys Vlasenko
|
87888ce4d8
bc: avoid successive bc_vec_item(&func->autos, i)
|
6 years ago |
Denys Vlasenko
|
f36a0adf8b
bc: remove unnecessary union use
|
6 years ago |
Denys Vlasenko
|
dfe1dd2031
bc: "unsigned_n > 0" is shorter code than "unsigned_n >= 1"
|
6 years ago |
Denys Vlasenko
|
65e1046abf
bc: open-code bc_parse_updateFunc() macro
|
6 years ago |
Denys Vlasenko
|
684d441f5c
bc: make bc_program_addFunc() return new idx, untangle &p->fidx interaction
|
6 years ago |
Denys Vlasenko
|
085b420220
bc: "reload stack only after insts" change missed a few places
|
6 years ago |
Denys Vlasenko
|
5aa54830bf
bc: rename a few functions
|
6 years ago |
Denys Vlasenko
|
e3d3d2067d
bc: remove redundant strdup+free in zbc_parse_call()
|
6 years ago |