mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 06:48:48 +00:00
some refactorings
This commit is contained in:
parent
aff30ad7c1
commit
1f42c9ff4b
2 changed files with 3 additions and 86 deletions
|
|
@ -351,13 +351,7 @@ void analyze(Bytefile *bf, std::vector<size_t> &&add_publics) {
|
|||
|
||||
/*uint args_count = */ ip_read_int_unsafe(¤t_ip);
|
||||
|
||||
// NOTE: done in corresponding CALL/CALLC
|
||||
// TODO: no stack edit required then (?)
|
||||
// current_stack_depth -= args_count;
|
||||
// if (current_stack_depth < 0) {
|
||||
// ip_failure(saved_current_ip, bf, "not enough elements in stack");
|
||||
// }
|
||||
// ++current_stack_depth;
|
||||
// NOTE: args checks done in corresponding CALL/CALLC
|
||||
} break;
|
||||
case Cmd::PATT:
|
||||
--current_stack_depth;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue