Displaying 2 results from an estimated 2 matches for "nextpath".
2005 Jun 04
3
How to change the value of a class slot
...round it, but the Green book admonishes "cheating on the
S evaluation model is to be avoided" (p. 190).
Thinking that class methods needed to an exception to this rule, I then
tried setMethod with the function I had written. However, when I called
the function I got
> setMethod("nextPath", "CompletePathMaker", nextPath)
Creating a new generic function for 'nextPath' in '.GlobalEnv'
[1] "nextPath"
> nextPath(pm)
Error: protect(): protection stack overflow
I can change the value of the slot interactively, so the problem does
not appear to...
2013 Apr 01
1
[LLVMdev] path profile result with LLVM
...Module(Module &M) {
PathProfileInfo& pathProfileInfo =
getAnalysis<PathProfileInfo>();
for(Module::iterator F = M.begin();F != M.end(); ++F){
if (F->isDeclaration()) continue;
pathProfileInfo.setCurrentFunction(F);
for(ProfilePathIterator nextPath=pathProfileInfo.pathBegin();nextPath !=
pathProfileInfo.pathEnd();nextPath++){
ProfilePath* currentPath = nextPath->second;
errs() << "Function: "+ F->getName() << "\n";
errs() <<"path #" << currentPath->getNumber()<<":...