mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Do not use named function labels if function names are not unique.
This commit is contained in:
@@ -52,7 +52,9 @@ void CodeGenerator::assemble(
|
||||
builtinContext,
|
||||
_optimizeStackAllocation,
|
||||
_identifierAccessCodeGen,
|
||||
_useNamedLabelsForFunctions
|
||||
_useNamedLabelsForFunctions ?
|
||||
CodeTransform::UseNamedLabels::YesAndForceUnique :
|
||||
CodeTransform::UseNamedLabels::Never
|
||||
);
|
||||
transform(_parsedData);
|
||||
if (!transform.stackErrors().empty())
|
||||
|
||||
Reference in New Issue
Block a user