Fix MOVE_OPERATORS pass #84
@@ -5,18 +5,14 @@
|
||||
#include <algorithm>
|
||||
#include <cstring>
|
||||
#include <cstdlib>
|
||||
#include <cmath>
|
||||
#include <climits>
|
||||
#include <functional>
|
||||
#include <cctype>
|
||||
|
||||
#include "../../Utils/errors.h"
|
||||
#include "../../Utils/SgUtils.h"
|
||||
#include "../../GraphCall/graph_calls.h"
|
||||
#include "../../GraphCall/graph_calls_func.h"
|
||||
#include "../../CFGraph/CFGraph.h"
|
||||
#include "../../CFGraph/IR.h"
|
||||
#include "../../GraphLoop/graph_loops.h"
|
||||
#include "move_operators.h"
|
||||
|
||||
using namespace std;
|
||||
@@ -102,8 +98,6 @@ static bool isBasicBlockInAnyLoop(const SAPFOR::BasicBlock* bb, const vector<SgS
|
||||
if (!first || !last)
|
||||
return false;
|
||||
|
||||
|
||||
|
||||
for (auto* loop : loops)
|
||||
if (loop && isParentStmt(first, loop) && isParentStmt(last, loop))
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user