-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move liveness interface to its own header
Currently, the interface for liveness analysis is declared in the flow.h header file. There is no a real need to move it to its own file but it's the dual of the previous patch and help a bit to make the code structure clearer. Move the prototype for liveness analysis to its own header. Signed-off-by: Luc Van Oostenryck <[email protected]>
- Loading branch information
Showing
4 changed files
with
13 additions
and
4 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#ifndef LIVENESS_H | ||
#define LIVENESS_H | ||
|
||
struct entrypoint; | ||
|
||
/* liveness.c */ | ||
void clear_liveness(struct entrypoint *ep); | ||
void track_pseudo_liveness(struct entrypoint *ep); | ||
void track_pseudo_death(struct entrypoint *ep); | ||
|
||
#endif |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ | |
|
||
#include "optimize.h" | ||
#include "linearize.h" | ||
#include "liveness.h" | ||
#include "flow.h" | ||
|
||
|
||
|