aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/codegen/ExpressionCompiler.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-04-06 22:25:13 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-05-01 03:34:43 +0800
commit2968639406888d97bfae70e4adf41674ac60fd83 (patch)
treecabaf0aff5bfd64fb067b6b537534fc851bc1b41 /libsolidity/codegen/ExpressionCompiler.cpp
parent52c94418795f829c4a225fdf4742eec7a1961232 (diff)
downloaddexon-solidity-2968639406888d97bfae70e4adf41674ac60fd83.tar.gz
dexon-solidity-2968639406888d97bfae70e4adf41674ac60fd83.tar.zst
dexon-solidity-2968639406888d97bfae70e4adf41674ac60fd83.zip
Removed signed shift right from the utilities.
Diffstat (limited to 'libsolidity/codegen/ExpressionCompiler.cpp')
-rw-r--r--libsolidity/codegen/ExpressionCompiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/codegen/ExpressionCompiler.cpp b/libsolidity/codegen/ExpressionCompiler.cpp
index 019867c5..a8222e21 100644
--- a/libsolidity/codegen/ExpressionCompiler.cpp
+++ b/libsolidity/codegen/ExpressionCompiler.cpp
@@ -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;