[llvm-commits] [poolalloc] r73828 - /poolalloc/trunk/include/dsa/DSSupport.h
Haohui Mai
mai4 at uiuc.edu
Sat Jun 20 10:21:00 PDT 2009
Author: mai4
Date: Sat Jun 20 12:20:59 2009
New Revision: 73828
URL: http://llvm.org/viewvc/llvm-project?rev=73828&view=rev
Log:
Remove the inline attributes for setTo() and getNode().
The compiler complains it cannot find function body for them, which means it
cannot inline these functions. Therefore I just remove the attribute to make the
compiler happy.
Modified:
poolalloc/trunk/include/dsa/DSSupport.h
Modified: poolalloc/trunk/include/dsa/DSSupport.h
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/include/dsa/DSSupport.h?rev=73828&r1=73827&r2=73828&view=diff
==============================================================================
--- poolalloc/trunk/include/dsa/DSSupport.h (original)
+++ poolalloc/trunk/include/dsa/DSSupport.h Sat Jun 20 12:20:59 2009
@@ -94,7 +94,7 @@
bool isNull() const { return N == 0; }
// Allow explicit conversion to DSNode...
- inline DSNode *getNode() const; // Defined inline in DSNode.h
+ DSNode *getNode() const; // Defined inline in DSNode.h
unsigned getOffset() const {
assert(!isForwarding() && "This is a forwarding NH, call getNode() first!");
return Offset;
@@ -109,7 +109,7 @@
Offset = O;
}
- inline void setTo(DSNode *N, unsigned O) const; // Defined inline in DSNode.h
+ void setTo(DSNode *N, unsigned O) const; // Defined inline in DSNode.h
void addEdgeTo(unsigned LinkNo, const DSNodeHandle &N);
void addEdgeTo(const DSNodeHandle &N) { addEdgeTo(0, N); }
More information about the llvm-commits
mailing list