aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/codegen/ExpressionCompiler.cpp
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-09-20 23:55:05 +0800
committerGitHub <noreply@github.com>2018-09-20 23:55:05 +0800
commitab93c94081a4f2849572e7432c63f9b449d5b6a5 (patch)
tree785c464fbdef10648c79188d93bb5ac2134d6c58 /libsolidity/codegen/ExpressionCompiler.cpp
parent5a473ab6824512512b8642af66759abb34cf3a23 (diff)
parent44e8dfd3931f24202ee4a718242451ed990c3ff6 (diff)
downloaddexon-solidity-ab93c94081a4f2849572e7432c63f9b449d5b6a5.tar
dexon-solidity-ab93c94081a4f2849572e7432c63f9b449d5b6a5.tar.gz
dexon-solidity-ab93c94081a4f2849572e7432c63f9b449d5b6a5.tar.bz2
dexon-solidity-ab93c94081a4f2849572e7432c63f9b449d5b6a5.tar.lz
dexon-solidity-ab93c94081a4f2849572e7432c63f9b449d5b6a5.tar.xz
dexon-solidity-ab93c94081a4f2849572e7432c63f9b449d5b6a5.tar.zst
dexon-solidity-ab93c94081a4f2849572e7432c63f9b449d5b6a5.zip
Merge pull request #5040 from liangdzou/fix_typo
fix typo
Diffstat (limited to 'libsolidity/codegen/ExpressionCompiler.cpp')
-rw-r--r--libsolidity/codegen/ExpressionCompiler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libsolidity/codegen/ExpressionCompiler.cpp b/libsolidity/codegen/ExpressionCompiler.cpp
index 8645f653..587cf34a 100644
--- a/libsolidity/codegen/ExpressionCompiler.cpp
+++ b/libsolidity/codegen/ExpressionCompiler.cpp
@@ -1230,7 +1230,7 @@ bool ExpressionCompiler::visit(MemberAccess const& _memberAccess)
else
solAssert(false, "Contract member is neither variable nor function.");
m_context << identifier;
- /// need to store store it as bytes4
+ /// need to store it as bytes4
utils().leftShiftNumberOnStack(224);
return false;
}
@@ -1305,7 +1305,7 @@ bool ExpressionCompiler::visit(MemberAccess const& _memberAccess)
if (member == "selector")
{
m_context << Instruction::SWAP1 << Instruction::POP;
- /// need to store store it as bytes4
+ /// need to store it as bytes4
utils().leftShiftNumberOnStack(224);
}
else
@@ -1975,7 +1975,7 @@ void ExpressionCompiler::appendExternalFunctionCall(
m_context << dupInstruction(m_context.baseToCurrentStackOffset(contractStackPos));
bool existenceChecked = false;
- // Check the the target contract exists (has code) for non-low-level calls.
+ // Check the target contract exists (has code) for non-low-level calls.
if (funKind == FunctionType::Kind::External || funKind == FunctionType::Kind::DelegateCall)
{
m_context << Instruction::DUP1 << Instruction::EXTCODESIZE << Instruction::ISZERO;