diff options
author | chriseth <chris@ethereum.org> | 2018-01-18 02:18:42 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2018-02-07 05:51:30 +0800 |
commit | b8074cdf788ee1cae862929c0428a95cc5248269 (patch) | |
tree | 0a89ac871bc0cc23cfe5d6f6075e947ee4d0ec5b /libjulia/optimiser | |
parent | 491d6d3e0c131bcafc10d4bc86df0d6833955cd4 (diff) | |
download | dexon-solidity-b8074cdf788ee1cae862929c0428a95cc5248269.tar dexon-solidity-b8074cdf788ee1cae862929c0428a95cc5248269.tar.gz dexon-solidity-b8074cdf788ee1cae862929c0428a95cc5248269.tar.bz2 dexon-solidity-b8074cdf788ee1cae862929c0428a95cc5248269.tar.lz dexon-solidity-b8074cdf788ee1cae862929c0428a95cc5248269.tar.xz dexon-solidity-b8074cdf788ee1cae862929c0428a95cc5248269.tar.zst dexon-solidity-b8074cdf788ee1cae862929c0428a95cc5248269.zip |
Add flag to indicate whether it can be applied to expressions with side-effects.
Diffstat (limited to 'libjulia/optimiser')
-rw-r--r-- | libjulia/optimiser/Utilities.h | 5 |
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); |