diff options
Diffstat (limited to 'libevmasm')
-rw-r--r-- | libevmasm/Instruction.cpp | 4 | ||||
-rw-r--r-- | libevmasm/SourceLocation.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libevmasm/Instruction.cpp b/libevmasm/Instruction.cpp index d854dfec..2aaa6f1d 100644 --- a/libevmasm/Instruction.cpp +++ b/libevmasm/Instruction.cpp @@ -39,13 +39,13 @@ const std::map<std::string, Instruction> dev::solidity::c_instructions = { "MOD", Instruction::MOD }, { "SMOD", Instruction::SMOD }, { "EXP", Instruction::EXP }, - { "BNOT", Instruction::NOT }, + { "NOT", Instruction::NOT }, { "LT", Instruction::LT }, { "GT", Instruction::GT }, { "SLT", Instruction::SLT }, { "SGT", Instruction::SGT }, { "EQ", Instruction::EQ }, - { "NOT", Instruction::ISZERO }, + { "ISZERO", Instruction::ISZERO }, { "AND", Instruction::AND }, { "OR", Instruction::OR }, { "XOR", Instruction::XOR }, diff --git a/libevmasm/SourceLocation.h b/libevmasm/SourceLocation.h index 8e22a826..05304d14 100644 --- a/libevmasm/SourceLocation.h +++ b/libevmasm/SourceLocation.h @@ -45,7 +45,7 @@ struct SourceLocation end(_other.end), sourceName(std::move(_other.sourceName)) {} - SourceLocation(SourceLocation const& _other) = default; + SourceLocation(SourceLocation const&) = default; SourceLocation& operator=(SourceLocation const&) = default; SourceLocation& operator=(SourceLocation&& _other) noexcept { |