发明名称 Factored assert chains
摘要 Factored assert chains allow for improved tracking of implicit information in a computer program. The compiler may generate assert statements at various points in the program where there is implicit information. The dominator tree for the program or section of program may then be constructed. Then phi-nodes may be inserted throughout a control flow graph. Following that, for each statement in the program or section of program, an assert chain may be constructed from each use to the most recent available assert statement for the variable. Then, if the statement is an assert statement, each use may be kept track of as a mapping to an assertion, otherwise a mapping of any reference to an assert statement for each definition may be deleted. This may then iterate through the dominator tree. At the end, a series of factored assert chains remains, which may be utilized by the compiler to improve the efficiency of generated code.
申请公布号 US7272829(B1) 申请公布日期 2007.09.18
申请号 US20030625334 申请日期 2003.07.22
申请人 SUN MICROSYSTEMS, INC. 发明人 MEIROWITZ DIANE R.
分类号 G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址