Browse Source

Fixed indentation.

cl-refactor
chriseth 10 years ago
parent
commit
dfdc1a44e9
  1. 4
      libevmasm/CommonSubexpressionEliminator.cpp
  2. 2
      libevmasm/KnownState.cpp

4
libevmasm/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

2
libevmasm/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()

Loading…
Cancel
Save