Fixed unused import
This commit is contained in:
parent
6f4fccd350
commit
8a4aceed83
1 changed files with 1 additions and 4 deletions
|
|
@ -1,6 +1,3 @@
|
||||||
import utils
|
|
||||||
|
|
||||||
|
|
||||||
def parse_wave_nodes(cfg, wave: int) -> list:
|
def parse_wave_nodes(cfg, wave: int) -> list:
|
||||||
return list(filter(lambda node: node["wave"] == wave, cfg["nodes"]))
|
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
|
continue
|
||||||
adress = node["last_instr"] # call is at the end of the basic block
|
adress = node["last_instr"] # call is at the end of the basic block
|
||||||
name = syscall["name"]
|
name = syscall["name"]
|
||||||
current_instruction = node["instructions"][-1]["mnemonic"]
|
# current_instruction = node["instructions"][-1]["mnemonic"]
|
||||||
no_repeat.append(adress)
|
no_repeat.append(adress)
|
||||||
res.append({"adress": adress, "name": name})
|
res.append({"adress": adress, "name": name})
|
||||||
return res
|
return res
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue