codegen: add a missing break;

This commit is contained in:
Yoichi Hirai 2016-11-14 16:14:59 +01:00
parent 68e7763387
commit 1ff67b492a
No known key found for this signature in database
GPG Key ID: E7B75D080FCF7992

View File

@ -666,6 +666,7 @@ void CompilerUtils::convertType(Type const& _typeOnStack, Type const& _targetTyp
solAssert(_targetType == _typeOnStack, "Invalid conversion for bool.");
if (_cleanupNeeded)
m_context << Instruction::ISZERO << Instruction::ISZERO;
break;
default:
// All other types should not be convertible to non-equal types.
solAssert(_typeOnStack == _targetType, "Invalid type conversion requested.");