diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-05-24 08:02:11 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-05-24 08:07:07 +0800 |
commit | f15d6ea45fd9470ba7ec1fcdc57796b268c0e7a5 (patch) | |
tree | 9d86d9105ee1b320095e4eb6ddf73b5890450b4b /libsolidity/inlineasm/AsmData.h | |
parent | e9b106cd0e9a3ca792d8335b5c2f0fa03cf4eebc (diff) | |
download | dexon-solidity-f15d6ea45fd9470ba7ec1fcdc57796b268c0e7a5.tar dexon-solidity-f15d6ea45fd9470ba7ec1fcdc57796b268c0e7a5.tar.gz dexon-solidity-f15d6ea45fd9470ba7ec1fcdc57796b268c0e7a5.tar.bz2 dexon-solidity-f15d6ea45fd9470ba7ec1fcdc57796b268c0e7a5.tar.lz dexon-solidity-f15d6ea45fd9470ba7ec1fcdc57796b268c0e7a5.tar.xz dexon-solidity-f15d6ea45fd9470ba7ec1fcdc57796b268c0e7a5.tar.zst dexon-solidity-f15d6ea45fd9470ba7ec1fcdc57796b268c0e7a5.zip |
Rename Assignment to StackAssignment
Diffstat (limited to 'libsolidity/inlineasm/AsmData.h')
-rw-r--r-- | libsolidity/inlineasm/AsmData.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libsolidity/inlineasm/AsmData.h b/libsolidity/inlineasm/AsmData.h index 65dfbadf..9d8610cf 100644 --- a/libsolidity/inlineasm/AsmData.h +++ b/libsolidity/inlineasm/AsmData.h @@ -50,14 +50,14 @@ struct Identifier { SourceLocation location; std::string name; }; struct FunctionalInstruction; /// Jump label ("name:") struct Label { SourceLocation location; std::string name; }; -/// Assignemnt (":= x", moves stack top into x, potentially multiple slots) -struct Assignment { SourceLocation location; Identifier variableName; }; +/// Assignment from stack (":= x", moves stack top into x, potentially multiple slots) +struct StackAssignment { SourceLocation location; Identifier variableName; }; struct FunctionalAssignment; struct VariableDeclaration; struct FunctionDefinition; struct FunctionCall; struct Block; -using Statement = boost::variant<Instruction, Literal, Label, Assignment, Identifier, FunctionalAssignment, FunctionCall, FunctionalInstruction, VariableDeclaration, FunctionDefinition, Block>; +using Statement = boost::variant<Instruction, Literal, Label, StackAssignment, Identifier, FunctionalAssignment, FunctionCall, FunctionalInstruction, VariableDeclaration, FunctionDefinition, Block>; /// Functional assignment ("x := mload(20:u256)", expects push-1-expression on the right hand /// side and requires x to occupy exactly one stack slot. struct FunctionalAssignment { SourceLocation location; Identifier variableName; std::shared_ptr<Statement> value; }; |