mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add analyze(block) to AssemblyStack
This commit is contained in:
@@ -60,6 +60,10 @@ public:
|
||||
/// Multiple calls overwrite the previous state.
|
||||
bool parseAndAnalyze(std::string const& _sourceName, std::string const& _source);
|
||||
|
||||
/// Runs analysis step on the supplied block, returns false if input cannot be assembled.
|
||||
/// Multiple calls overwrite the previous state.
|
||||
bool analyze(assembly::Block const& _block, Scanner const* _scanner = nullptr);
|
||||
|
||||
/// Run the assembly step (should only be called after parseAndAnalyze).
|
||||
eth::LinkerObject assemble(Machine _machine);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user