From dfdc1a44e9dc820f9931e9d17c0070386cfee0d7 Mon Sep 17 00:00:00 2001 From: chriseth Date: Wed, 13 May 2015 19:13:03 +0200 Subject: [PATCH] Fixed indentation. --- libevmasm/CommonSubexpressionEliminator.cpp | 4 +--- libevmasm/KnownState.cpp | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/libevmasm/CommonSubexpressionEliminator.cpp b/libevmasm/CommonSubexpressionEliminator.cpp index 7564fcd99..9f6f9dd63 100644 --- a/libevmasm/CommonSubexpressionEliminator.cpp +++ b/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 diff --git a/libevmasm/KnownState.cpp b/libevmasm/KnownState.cpp index b84e656aa..0aac9cedb 100644 --- a/libevmasm/KnownState.cpp +++ b/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()