Replace "runtime" by "deployed" naming.

This commit is contained in:
chriseth
2021-02-10 00:56:16 +01:00
parent 9b20c9840a
commit a72ab1c9c1
5 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -1302,7 +1302,7 @@ void CompilerStack::generateEVMFromIR(ContractDefinition const& _contract)
// TODO: use stack.assemble here!
yul::MachineAssemblyObject init;
yul::MachineAssemblyObject runtime;
std::tie(init, runtime) = stack.assembleWithDeployed(IRNames::runtimeObject(_contract));
std::tie(init, runtime) = stack.assembleWithDeployed(IRNames::deployedObject(_contract));
compiledContract.object = std::move(*init.bytecode);
compiledContract.runtimeObject = std::move(*runtime.bytecode);
// TODO: refactor assemblyItems, runtimeAssemblyItems, generatedSources,