mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add include file to forward-declare inline assembly structs.
This commit is contained in:
committed by
Alex Beregszaszi
parent
49b1112117
commit
8e5c4bf21d
@@ -26,6 +26,8 @@
|
||||
|
||||
#include <libjulia/backends/evm/AbstractAssembly.h>
|
||||
|
||||
#include <libsolidity/inlineasm/AsmDataForward.h>
|
||||
|
||||
#include <boost/variant.hpp>
|
||||
|
||||
#include <functional>
|
||||
@@ -39,21 +41,6 @@ class ErrorReporter;
|
||||
namespace assembly
|
||||
{
|
||||
|
||||
struct Literal;
|
||||
struct Block;
|
||||
struct Label;
|
||||
struct FunctionalInstruction;
|
||||
struct Assignment;
|
||||
struct VariableDeclaration;
|
||||
struct Instruction;
|
||||
struct Identifier;
|
||||
struct StackAssignment;
|
||||
struct FunctionDefinition;
|
||||
struct FunctionCall;
|
||||
struct Switch;
|
||||
struct ForLoop;
|
||||
using Statement = boost::variant<Instruction, Literal, Label, StackAssignment, Identifier, Assignment, FunctionCall, FunctionalInstruction, VariableDeclaration, FunctionDefinition, Switch, Block, ForLoop>;
|
||||
|
||||
struct AsmAnalysisInfo;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user