aboutsummaryrefslogtreecommitdiffstats
path: root/ExpressionCompiler.cpp
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2014-11-07 05:11:21 +0800
committerchriseth <c@ethdev.com>2014-11-07 05:11:21 +0800
commitd9decb8f1d131136eff333579503c5a5a936cc38 (patch)
tree6d9f5932d1a4bbfed32f6751f0be84781cfbbce2 /ExpressionCompiler.cpp
parent6c2e3ffd76eaf43f4a309d3316793126ccf72c40 (diff)
downloaddexon-solidity-d9decb8f1d131136eff333579503c5a5a936cc38.tar.gz
dexon-solidity-d9decb8f1d131136eff333579503c5a5a936cc38.tar.zst
dexon-solidity-d9decb8f1d131136eff333579503c5a5a936cc38.zip
Removed superfluous braces.
Diffstat (limited to 'ExpressionCompiler.cpp')
-rw-r--r--ExpressionCompiler.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/ExpressionCompiler.cpp b/ExpressionCompiler.cpp
index 48bcd578..6efb8b20 100644
--- a/ExpressionCompiler.cpp
+++ b/ExpressionCompiler.cpp
@@ -374,10 +374,8 @@ void ExpressionCompiler::appendTypeConversion(Type const& _typeOnStack, Type con
if (_typeOnStack.getCategory() == Type::Category::INTEGER)
appendHighBitsCleanup(dynamic_cast<IntegerType const&>(_typeOnStack));
else if (_typeOnStack != _targetType)
- {
// All other types should not be convertible to non-equal types.
BOOST_THROW_EXCEPTION(InternalCompilerError() << errinfo_comment("Invalid type conversion requested."));
- }
}
void ExpressionCompiler::appendHighBitsCleanup(IntegerType const& _typeOnStack)