Shared: Address review comments for shared basic block library

This commit is contained in:
Simon Friis Vindum
2025-01-17 13:11:49 +01:00
parent 8b20b0d334
commit 4d05b6a0a5
7 changed files with 96 additions and 85 deletions

View File

@@ -106,9 +106,9 @@ module CfgInput implements InputSig<Location> {
result = n.(FuncDeclElement).getAst()
}
predicate idOfAstNode(AstNode node, int id) { idOf(projectToAst(node), id) }
int idOfAstNode(AstNode node) { idOf(projectToAst(node), result) }
predicate idOfCfgScope(CfgScope node, int id) { idOf(node, id) }
int idOfCfgScope(CfgScope node) { idOf(node, result) }
}
private module CfgSplittingInput implements SplittingInputSig<Location, CfgInput> {