mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
MSVC fix.
This commit is contained in:
parent
88096c2c69
commit
81ed5612bc
@ -127,8 +127,9 @@ bigint LiteralMethod::gasNeeded()
|
|||||||
}
|
}
|
||||||
|
|
||||||
CodeCopyMethod::CodeCopyMethod(Params const& _params, u256 const& _value):
|
CodeCopyMethod::CodeCopyMethod(Params const& _params, u256 const& _value):
|
||||||
ConstantOptimisationMethod(_params, _value),
|
ConstantOptimisationMethod(_params, _value)
|
||||||
m_copyRoutine{
|
{
|
||||||
|
m_copyRoutine = AssemblyItems{
|
||||||
u256(0),
|
u256(0),
|
||||||
eth::Instruction::DUP1,
|
eth::Instruction::DUP1,
|
||||||
eth::Instruction::MLOAD, // back up memory
|
eth::Instruction::MLOAD, // back up memory
|
||||||
@ -140,8 +141,7 @@ CodeCopyMethod::CodeCopyMethod(Params const& _params, u256 const& _value):
|
|||||||
eth::Instruction::MLOAD,
|
eth::Instruction::MLOAD,
|
||||||
eth::Instruction::SWAP2,
|
eth::Instruction::SWAP2,
|
||||||
eth::Instruction::MSTORE
|
eth::Instruction::MSTORE
|
||||||
}
|
};
|
||||||
{
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bigint CodeCopyMethod::gasNeeded()
|
bigint CodeCopyMethod::gasNeeded()
|
||||||
|
Loading…
Reference in New Issue
Block a user