Merge pull request #13449 from ethereum/fix-undefined-order-of-evaluation

[Tiny] Fix undefined order of evaluation
This commit is contained in:
Mathias L. Baumann 2022-08-29 17:35:36 +02:00 committed by GitHub
commit 8ea483d532
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,7 +82,8 @@ pair<YulString, BuiltinFunctionForEVM> createEVMFunction(
_assembly.appendInstruction(_instruction);
};
return {f.name, move(f)};
YulString name = f.name;
return {name, move(f)};
}
pair<YulString, BuiltinFunctionForEVM> createFunction(