aboutsummaryrefslogtreecommitdiffstats
path: root/libjulia/optimiser/ASTCopier.cpp
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-12-05 21:44:20 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-12-05 22:52:11 +0800
commit745eefa36f9bc04c91cb28e81bd16f8d01a11c7c (patch)
treef6a3497b5355de175f6535c14c1996052654ce1e /libjulia/optimiser/ASTCopier.cpp
parenta08d853bbb0d5f052cc264a84340bde577f54c4e (diff)
downloaddexon-solidity-745eefa36f9bc04c91cb28e81bd16f8d01a11c7c.tar.gz
dexon-solidity-745eefa36f9bc04c91cb28e81bd16f8d01a11c7c.tar.zst
dexon-solidity-745eefa36f9bc04c91cb28e81bd16f8d01a11c7c.zip
Split Instruction and FunctionalInstruction in Julia
Diffstat (limited to 'libjulia/optimiser/ASTCopier.cpp')
-rw-r--r--libjulia/optimiser/ASTCopier.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libjulia/optimiser/ASTCopier.cpp b/libjulia/optimiser/ASTCopier.cpp
index d777d731..a461f434 100644
--- a/libjulia/optimiser/ASTCopier.cpp
+++ b/libjulia/optimiser/ASTCopier.cpp
@@ -31,9 +31,10 @@ using namespace dev;
using namespace dev::julia;
-Statement ASTCopier::operator()(Instruction const& _instruction)
+Statement ASTCopier::operator()(Instruction const&)
{
- return _instruction;
+ solAssert(false, "Invalid operation.");
+ return {};
}
Statement ASTCopier::operator()(VariableDeclaration const& _varDecl)