mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Big fixes.
This commit is contained in:
parent
9f53f18893
commit
c45495afb9
@ -104,10 +104,10 @@ void ExpressionCompiler::endVisit(UnaryOperation& _unaryOperation)
|
||||
switch (_unaryOperation.getOperator())
|
||||
{
|
||||
case Token::NOT: // !
|
||||
append(eth::Instruction::NOT);
|
||||
append(eth::Instruction::ISZERO);
|
||||
break;
|
||||
case Token::BIT_NOT: // ~
|
||||
append(eth::Instruction::BNOT);
|
||||
append(eth::Instruction::NOT);
|
||||
break;
|
||||
case Token::DELETE: // delete
|
||||
// a -> a xor a (= 0).
|
||||
|
Loading…
Reference in New Issue
Block a user