Removed signed shift right from the utilities.

This commit is contained in:
chriseth authored and Alex Beregszaszi committed 2018-04-30 20:34:43 +01:00
1 parent 52c9441879
commit 2968639406
6 files changed
+24 -24

No files matched your search

+1 -1
View File
@@ -548,7 +548,7 @@ bool ExpressionCompiler::visit(FunctionCall const& _functionCall)
if (m_context.runtimeContext())
// We have a runtime context, so we need the creation part.
utils().rightShiftNumberOnStack(32, false);
utils().rightShiftNumberOnStack(32);
else
// Extract the runtime part.
m_context << ((u256(1) << 32) - 1) << Instruction::AND;