Yul Backend: Get rid of heuristics for finding the matching runtime

This commit is contained in:
Mathias Baumann
2021-02-09 14:50:25 +01:00
parent d393624384
commit e4f1257c83
13 changed files with 51 additions and 21 deletions
+6
View File
@@ -95,6 +95,12 @@ public:
/// Only available for EVM.
std::pair<MachineAssemblyObject, MachineAssemblyObject> assembleAndGuessRuntime() const;
/// Run the assembly step (should only be called after parseAndAnalyze).
/// In addition to the value returned by @a assemble, returns
/// a second object that is the runtime code.
/// Only available for EVM.
std::pair<MachineAssemblyObject, MachineAssemblyObject> assembleWithDeployed(std::optional<std::string_view> _deployeName = {}) const;
/// @returns the errors generated during parsing, analysis (and potentially assembly).
langutil::ErrorList const& errors() const { return m_errors; }