Displaying 1 result from an estimated 1 matches for "apply_phi_semantics".
2004 Apr 23
2
[LLVMdev] subtle problem with inst_iterator
...inst_iterator, though, returns pointer 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...