diff options
Diffstat (limited to 'backend/src/ir/unit.hpp')
-rw-r--r-- | backend/src/ir/unit.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/backend/src/ir/unit.hpp b/backend/src/ir/unit.hpp index cbdab2fd..b69ba8b4 100644 --- a/backend/src/ir/unit.hpp +++ b/backend/src/ir/unit.hpp @@ -26,9 +26,12 @@ #include "ir/constant.hpp" #include "ir/register.hpp" +#include "ir/printf.hpp" #include "sys/map.hpp" #include <string.h> +#include "llvm/IR/Instructions.h" + namespace gbe { namespace ir { @@ -88,6 +91,8 @@ namespace ir { { public: typedef map<std::string, Function*> FunctionSet; + /*! Moved from printf pass */ + map<llvm::CallInst*, PrintfSet::PrintfFmt*> printfs; /*! Create an empty unit */ Unit(PointerSize pointerSize = POINTER_32_BITS); /*! Release everything (*including* the function pointers) */ |