aboutsummaryrefslogtreecommitdiffstats
path: root/Compiler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Compiler.cpp')
-rw-r--r--Compiler.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Compiler.cpp b/Compiler.cpp
index 5e24aaaa..26147340 100644
--- a/Compiler.cpp
+++ b/Compiler.cpp
@@ -193,8 +193,7 @@ void Compiler::appendFunctionSelector(ContractDefinition const& _contract)
appendReturnValuePacker(FunctionType(*fallback).getReturnParameterTypes());
}
else
- m_context << eth::Instruction::STOP; // function not found
-
+ m_context.appendConditionalJumpTo(m_context.errorTag()); // function not found
for (auto const& it: interfaceFunctions)
{
FunctionTypePointer const& functionType = it.second;