MCPcopy Create free account
hub / github.com/argotorg/solidity / appendExpressionCopyToMemory

Method appendExpressionCopyToMemory

libsolidity/codegen/ExpressionCompiler.cpp:3031–3036  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3029}
3030
3031void ExpressionCompiler::appendExpressionCopyToMemory(Type const& _expectedType, Expression const& _expression)
3032{
3033 solUnimplementedAssert(_expectedType.isValueType(), "Not implemented for non-value types.");
3034 acceptAndConvert(_expression, _expectedType, true);
3035 utils().storeInMemoryDynamic(_expectedType);
3036}
3037
3038void ExpressionCompiler::appendVariable(VariableDeclaration const& _variable, Expression const& _expression)
3039{

Callers

nothing calls this directly

Calls 2

storeInMemoryDynamicMethod · 0.80
isValueTypeMethod · 0.45

Tested by

no test coverage detected