From f508494f52feb45f22404801389175ce12e77013 Mon Sep 17 00:00:00 2001 From: Marenz Date: Mon, 29 Aug 2022 15:23:29 +0200 Subject: [PATCH] Fix undefined order of evaluation --- libyul/backends/evm/EVMDialect.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libyul/backends/evm/EVMDialect.cpp b/libyul/backends/evm/EVMDialect.cpp index 35fa5f88e..c86be6f69 100644 --- a/libyul/backends/evm/EVMDialect.cpp +++ b/libyul/backends/evm/EVMDialect.cpp @@ -82,7 +82,8 @@ pair createEVMFunction( _assembly.appendInstruction(_instruction); }; - return {f.name, move(f)}; + YulString name = f.name; + return {name, move(f)}; } pair createFunction(