Function ASTtools::transformToBlockShell#
Defined in File StmtRewrite.hh
Function Documentation#
-
SgBasicBlock *ASTtools::transformToBlockShell(SgBasicBlock *b_orig)#
Create an SgBasicBlock shell around an existing SgBasicBlock.
Given a basic block, B, this routine creates a new basic block, B’, moves all statements in B to B’, inserts B’ into B, and returns B’.