aboutsummaryrefslogtreecommitdiffstats
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
parentcebc959ff3d7dab6a41833013ffe22728def3221 (diff)
downloaddexon-solidity-b124878c5341dc2576be10631b30e74ae16ab8b2.tar
dexon-solidity-b124878c5341dc2576be10631b30e74ae16ab8b2.tar.gz
dexon-solidity-b124878c5341dc2576be10631b30e74ae16ab8b2.tar.bz2
dexon-solidity-b124878c5341dc2576be10631b30e74ae16ab8b2.tar.lz
dexon-solidity-b124878c5341dc2576be10631b30e74ae16ab8b2.tar.xz
dexon-solidity-b124878c5341dc2576be10631b30e74ae16ab8b2.tar.zst
dexon-solidity-b124878c5341dc2576be10631b30e74ae16ab8b2.zip
Fixed indentation.
-rw-r--r--CommonSubexpressionEliminator.cpp4
-rw-r--r--KnownState.cpp2
2 files changed, 2 insertions, 4 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
diff --git a/KnownState.cpp b/KnownState.cpp
index b84e656a..0aac9ced 100644
--- a/KnownState.cpp
+++ b/KnownState.cpp
@@ -230,7 +230,7 @@ ExpressionClasses::Id KnownState::stackElement(int _stackHeight, SourceLocation
return m_stackElements.at(_stackHeight);
// Stack element not found (not assigned yet), create new unknown equivalence class.
return m_stackElements[_stackHeight] =
- m_expressionClasses->find(AssemblyItem(UndefinedItem, _stackHeight, _location));
+ m_expressionClasses->find(AssemblyItem(UndefinedItem, _stackHeight, _location));
}
void KnownState::clearTagUnions()