Skip to content
Snippets Groups Projects
Commit faa4bd1f authored by Akash Kothari's avatar Akash Kothari
Browse files

Marking isRoot function as const

parent e72e919b
No related branches found
No related tags found
No related merge requests found
......@@ -313,7 +313,7 @@ public:
DFInternalNode* _Parent, unsigned _NumOfDim, std::vector<Value*>
_DimLimits, DFNodeKind _K);
bool isRoot() {
bool isRoot() const {
// It is a root node is it was created from a launch intrinsic
return II->getCalledFunction()->getName().equals("llvm.visc.launch");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment