Skip to content

Commit 8ea483d

Browse files
authored
Merge pull request #13449 from ethereum/fix-undefined-order-of-evaluation
[Tiny] Fix undefined order of evaluation
2 parents 94fd40f + f508494 commit 8ea483d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libyul/backends/evm/EVMDialect.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ pair<YulString, BuiltinFunctionForEVM> createEVMFunction(
8282
_assembly.appendInstruction(_instruction);
8383
};
8484

85-
return {f.name, move(f)};
85+
YulString name = f.name;
86+
return {name, move(f)};
8687
}
8788

8889
pair<YulString, BuiltinFunctionForEVM> createFunction(

0 commit comments

Comments
 (0)