Refactor depth first traversal to be more generic
authorUmar Arshad <umar@arrayfire.com>
Sat, 4 Jun 2016 01:14:22 +0000 (21:14 -0400)
committerDavid Neto <dneto@google.com>
Fri, 10 Jun 2016 10:39:42 +0000 (06:39 -0400)
commite3dcaf56100289db449eb4e8cc226f7185bcfcaf
treebaee00d1625fc885f49c4fc47b2e927c3fb1bff9
parent11437165d603ae6ab28b4a02e349748632785eea
Refactor depth first traversal to be more generic

Refactor the way the post order vector is created. This new method
will allow for the extraction of backedges and create the post order
vector in one pass.
source/val/BasicBlock.h
source/val/Function.cpp
source/validate_cfg.cpp