Reimplement has_call_callback using ir_hierarchical_vistor
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 14 May 2010 21:11:06 +0000 (14:11 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 17 May 2010 19:03:13 +0000 (12:03 -0700)
commit77dd4f3536905f1b3a5c33b3758dc7e230332b38
treedfa68bd9d2b48803170c514d5b6d644b9076d17a
parenta0b4f3d631cefa6ee3f341461e4754ef6462f89b
Reimplement has_call_callback using ir_hierarchical_vistor

This has the added advantage that it will stop traversing the tree as
soon as the first call is found.

The output of all test cases was verified to be the same using diff.
ir_basic_block.cpp