Fixed unused import

This commit is contained in:
Aéna Aria 2026-04-02 14:08:37 +02:00
parent 6f4fccd350
commit 8a4aceed83

View file

@ -1,6 +1,3 @@
import utils
def parse_wave_nodes(cfg, wave: int) -> list:
return list(filter(lambda node: node["wave"] == wave, cfg["nodes"]))
@ -29,7 +26,7 @@ def parse_syscalls(cfg, wave: int) -> list[dict[str, str]]:
continue
adress = node["last_instr"] # call is at the end of the basic block
name = syscall["name"]
current_instruction = node["instructions"][-1]["mnemonic"]
# current_instruction = node["instructions"][-1]["mnemonic"]
no_repeat.append(adress)
res.append({"adress": adress, "name": name})
return res