An utility class for setting temporary insertion points. More...
#include <ir.h>
Public Member Functions | |
WithInsertPoint (Node *n) | |
WithInsertPoint (Block *b) | |
An utility class for setting temporary insertion points.
When an object of this class is created, it stores the current insertion point, sets the new one, and restores the original insertion point when the object is destroyed.