summaryrefslogtreecommitdiff
path: root/includes/compiler/uDump.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--includes/compiler/uDump.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/includes/compiler/uDump.h b/includes/compiler/uDump.h
new file mode 100644
index 0000000..d39513c
--- /dev/null
+++ b/includes/compiler/uDump.h
@@ -0,0 +1,14 @@
+#ifndef COMPILER_UDUMP_H
+#define COMPILER_UDUMP_H
+
+#include "compiler/common.h"
+
+extern void SetupDumpIR(void);
+extern void CleanupDumpIR(void);
+extern void DumpIR(Statement *statements, Object *func);
+extern void DumpExpression(ENode *expr, int indent);
+extern void DumpSwitch(SwitchInfo *info);
+extern void DumpType(Type *type);
+extern void DumpStack(ExceptionAction *act);
+
+#endif