summaryrefslogtreecommitdiff
path: root/src/ir_rose_utils.cc
diff options
context:
space:
mode:
authorTuowen Zhao <ztuowen@gmail.com>2016-09-20 15:56:14 -0600
committerTuowen Zhao <ztuowen@gmail.com>2016-09-20 15:56:14 -0600
commit6983c09937baac3ffb7d3a45c3c5009c0eba7e6c (patch)
treeb42f0f9383b40fbeb540bf51b9f11eaf6f80c990 /src/ir_rose_utils.cc
parentb829868dfd6cbe9da07227220856b975f33e2037 (diff)
downloadchill-6983c09937baac3ffb7d3a45c3c5009c0eba7e6c.tar.gz
chill-6983c09937baac3ffb7d3a45c3c5009c0eba7e6c.tar.bz2
chill-6983c09937baac3ffb7d3a45c3c5009c0eba7e6c.zip
python loop & more doc
Diffstat (limited to 'src/ir_rose_utils.cc')
-rw-r--r--src/ir_rose_utils.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/ir_rose_utils.cc b/src/ir_rose_utils.cc
index 64b0891..1329031 100644
--- a/src/ir_rose_utils.cc
+++ b/src/ir_rose_utils.cc
@@ -31,8 +31,6 @@ std::vector<SgForStatement *> find_deepest_loops(SgStatementPtrList& tnl) {
std::vector<SgForStatement *> loops;
-
-
for(SgStatementPtrList::const_iterator j = tnl.begin(); j != tnl.end(); j++)
{
std::vector<SgForStatement *> t = find_deepest_loops(isSgNode(*j));
@@ -40,10 +38,7 @@ std::vector<SgForStatement *> find_deepest_loops(SgStatementPtrList& tnl) {
loops = t;
}
-
-
return loops;
-
}
std::vector<SgForStatement *> find_deepest_loops(SgNode *tn) {