aboutsummaryrefslogtreecommitdiffstats
path: root/libjulia/optimiser/Utilities.h
diff options
context:
space:
mode:
Diffstat (limited to 'libjulia/optimiser/Utilities.h')
-rw-r--r--libjulia/optimiser/Utilities.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libjulia/optimiser/Utilities.h b/libjulia/optimiser/Utilities.h
index 88ba3f47..e3b4b087 100644
--- a/libjulia/optimiser/Utilities.h
+++ b/libjulia/optimiser/Utilities.h
@@ -22,11 +22,16 @@
#include <libjulia/ASTDataForward.h>
+#include <libdevcore/Exceptions.h>
+
namespace dev
{
namespace julia
{
+struct IuliaException: virtual Exception {};
+struct OptimizerException: virtual IuliaException {};
+
/// Removes statements that are just empty blocks (non-recursive).
void removeEmptyBlocks(Block& _block);