Skip to content

Commit

Permalink
re-add stack pointer to address_registers
Browse files Browse the repository at this point in the history
  • Loading branch information
mkannwischer committed Dec 16, 2024
1 parent 4ec2210 commit 009068f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slothy/core/dataflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ def find_all_predecessors_input_registers(self, consumer, register_name):
""" recursively finds the set of input registers registers that a certain value depends on."""
# ignore the stack pointer
if register_name == "sp":
return set()
return set(["sp"])

producer = consumer.reg_state[register_name].src
# if this is a virtual input instruction this is an actual input
Expand Down

0 comments on commit 009068f

Please sign in to comment.