rm push/pop
This commit is contained in:
@@ -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, ", ")
|
||||
|
||||
Reference in New Issue
Block a user