Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add reaching definitions analysis to StackAnalysis.
The reaching definitions analysis keeps track of where stack pointers are defined so that StackMod can modify those definitions if necessary. StackMod currently modifies definitions only when there are multiple possible stack slots a pointer could point to and then that pointer is dereferenced. In that scenario, we cannot modify just the access since we would need to have two different displacements depending on the value of the pointer. Instead, StackMod modifies the pointers at their definition points so that they point to their new stack locations.
- Loading branch information
Showing
10 changed files
with
905 additions
and
273 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.