rm push/pop

This commit is contained in:
2026-02-26 08:13:18 -06:00
parent eb19b18594
commit a1b41d5ecf
59 changed files with 19546 additions and 19265 deletions

View File

@@ -243,7 +243,7 @@ var type_annotation = function(slot_types, instr) {
if (is_number(v)) {
t = slot_types[text(v)]
if (t != null && t != T_UNKNOWN) {
push(parts, `s${text(v)}:${t}`)
parts[] = `s${text(v)}:${t}`
}
}
j = j + 1
@@ -290,7 +290,7 @@ var dump_function_typed = function(func, name) {
operand_parts = []
j = 1
while (j < n - 2) {
push(operand_parts, fmt_val(instr[j]))
operand_parts[] = fmt_val(instr[j])
j = j + 1
}
operands = text(operand_parts, ", ")