Removed signed shift right from the utilities.

This commit is contained in:
chriseth
2018-04-30 20:34:43 +01:00
committed by Alex Beregszaszi
parent 52c9441879
commit 2968639406
6 changed files with 24 additions and 24 deletions
+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;