summaryrefslogtreecommitdiff
path: root/includes/compiler/uDump.h
blob: d39513cc45ae341c8ed5e48cfe431a7ffac5bc5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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