mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-24 12:36:30 +00:00
add a method proto, make a method not inline
llvm-svn: 10921
This commit is contained in:
parent
85a8d1cc2b
commit
64a4d5c1e4
@ -92,13 +92,7 @@ public:
|
||||
return Plane < ModuleLevel.size() ? ModuleLevel[Plane] : 0;
|
||||
}
|
||||
|
||||
inline const TypePlane &getPlane(unsigned Plane) const {
|
||||
if (CompactionTable.empty() || CompactionTable.size() <= Plane ||
|
||||
CompactionTable[Plane].empty())
|
||||
return Table[Plane];
|
||||
else
|
||||
return CompactionTable[Plane];
|
||||
}
|
||||
TypePlane &getPlane(unsigned Plane);
|
||||
|
||||
/// incorporateFunction/purgeFunction - If you'd like to deal with a function,
|
||||
/// use these two methods to get its data into the SlotCalculator!
|
||||
@ -146,6 +140,7 @@ private:
|
||||
|
||||
void buildCompactionTable(const Function *F);
|
||||
unsigned getOrCreateCompactionTableSlot(const Value *V);
|
||||
void pruneCompactionTable();
|
||||
};
|
||||
|
||||
} // End llvm namespace
|
||||
|
Loading…
Reference in New Issue
Block a user