Skip to content

Commit

Permalink
Remove unneeded resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
rkarabut committed Dec 5, 2024
1 parent 61796c8 commit 4c69ed6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ impl DependencyContext {
Instruction::Load { address } => {
// Recall the value stored at address as parent for the results
if let Some(value_id) = self.memory_slots.get(address) {
self.update_children(&[function.dfg.resolve(*value_id)], &results);
self.update_children(&[*value_id], &results);
} else {
panic!("load instruction {} has attempted to access previously unused memory location",
instruction);
Expand Down

0 comments on commit 4c69ed6

Please sign in to comment.