Skip to content

Commit

Permalink
don't assume size of stack element
Browse files Browse the repository at this point in the history
  • Loading branch information
sadrabt committed Dec 2, 2024
1 parent 957ba7e commit b984e7a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class Graph(val proc: Procedure,
val node = Node(Some(this), byteSize)
node.allocationRegions.add(StackLocation(s"Stack_${proc}_$offset", proc, byteSize))
node.flags.stack = true
node.addCell(0, byteSize)
node.addCell(0, 0)
stackMapping.update(offset, node)
lastOffset = offset
else
Expand Down

0 comments on commit b984e7a

Please sign in to comment.