search for: instruction2vertex

Displaying 1 result from an estimated 1 matches for "instruction2vertex".

2004 Apr 23
2
[LLVMdev] subtle problem with inst_iterator
...ointer to Instruction, not a reference to a pointer to instruction. The above might sound like I've gone crazy reading C++ standard, but my real reason is that with the current code the following: for_each(inst_begin(f), inst_end(f), boost::bind( apply_phi_semantics, result, _1, instruction2vertex)); does not compile, where 'apply_phi_semantics' is my function and boost::bind is a tool for binding function arguments described in http://www.boost.org/libs/bind/bind.html The reason it does not compile is somewhat contrived. for_each passes the result of *it to functional obj...