mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
bb6fb675e0
codecopy. Motiviation: Zero'ing memory is commonplace in contracts, but with the upcoming Layer-2 EVM translation layers and other on-chain verification mechanisms, using `codecopy` becomes a `costly` operation in those sandboxes. Using `calldatacopy` achieves the same thing, gas costs are also the same as codecopy, and is significantly cheaper in the `sandbox` situation. |
||
---|---|---|
.. | ||
ir | ||
ABIFunctions.cpp | ||
ABIFunctions.h | ||
ArrayUtils.cpp | ||
ArrayUtils.h | ||
Compiler.cpp | ||
Compiler.h | ||
CompilerContext.cpp | ||
CompilerContext.h | ||
CompilerUtils.cpp | ||
CompilerUtils.h | ||
ContractCompiler.cpp | ||
ContractCompiler.h | ||
ExpressionCompiler.cpp | ||
ExpressionCompiler.h | ||
LValue.cpp | ||
LValue.h | ||
MultiUseYulFunctionCollector.cpp | ||
MultiUseYulFunctionCollector.h | ||
YulUtilFunctions.cpp | ||
YulUtilFunctions.h |