aboutsummaryrefslogtreecommitdiffstats
path: root/CommonSubexpressionEliminator.cpp
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2015-05-14 01:13:03 +0800
committerchriseth <c@ethdev.com>2015-05-14 01:13:03 +0800
commitb124878c5341dc2576be10631b30e74ae16ab8b2 (patch)
tree7e0001bcec8b4a4cf87b562200006bbf2a2cccdb /CommonSubexpressionEliminator.cpp
parentcebc959ff3d7dab6a41833013ffe22728def3221 (diff)
downloaddexon-solidity-b124878c5341dc2576be10631b30e74ae16ab8b2.tar.gz
dexon-solidity-b124878c5341dc2576be10631b30e74ae16ab8b2.tar.zst
dexon-solidity-b124878c5341dc2576be10631b30e74ae16ab8b2.zip
Fixed indentation.
Diffstat (limited to 'CommonSubexpressionEliminator.cpp')
-rw-r--r--CommonSubexpressionEliminator.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/CommonSubexpressionEliminator.cpp b/CommonSubexpressionEliminator.cpp
index 7564fcd9..9f6f9dd6 100644
--- a/CommonSubexpressionEliminator.cpp
+++ b/CommonSubexpressionEliminator.cpp
@@ -199,9 +199,7 @@ void CSECodeGenerator::addDependencies(Id _c)
addDependencies(argument);
m_neededBy.insert(make_pair(argument, _c));
}
- if (
- expr.item &&
- expr.item->type() == Operation && (
+ if (expr.item && expr.item->type() == Operation && (
expr.item->instruction() == Instruction::SLOAD ||
expr.item->instruction() == Instruction::MLOAD ||
expr.item->instruction() == Instruction::SHA3