[llvm-branch-commits] [llvm-branch] r201961 - initTags can be a templated overload name
Gabor Greif
ggreif at gmail.com
Sat Feb 22 15:38:36 PST 2014
Author: ggreif
Date: Sat Feb 22 17:38:35 2014
New Revision: 201961
URL: http://llvm.org/viewvc/llvm-project?rev=201961&view=rev
Log:
initTags can be a templated overload name
Modified:
llvm/branches/ggreif/waymark-64-new/include/llvm/IR/Use.h
llvm/branches/ggreif/waymark-64-new/lib/IR/Use.cpp
Modified: llvm/branches/ggreif/waymark-64-new/include/llvm/IR/Use.h
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/ggreif/waymark-64-new/include/llvm/IR/Use.h?rev=201961&r1=201960&r2=201961&view=diff
==============================================================================
--- llvm/branches/ggreif/waymark-64-new/include/llvm/IR/Use.h (original)
+++ llvm/branches/ggreif/waymark-64-new/include/llvm/IR/Use.h Sat Feb 22 17:38:35 2014
@@ -127,7 +127,7 @@ private:
template <size_t>
const Use *getImpliedUser() const;
template <size_t>
- static Use *newInitTags(Use * const Start, Use *Stop);
+ static Use *initTags(Use * const Start, Use *Stop);
Value *Val;
Use *Next;
@@ -154,10 +154,10 @@ private:
// Out-of-class specializations/definitions.
template<>
-Use *Use::newInitTags<8>(Use * const Start, Use *Stop);
+Use *Use::initTags<8>(Use * const Start, Use *Stop);
inline Use * Use::initTags(Use *Start, Use *Stop) {
- return newInitTags<sizeof(Use*)>(Start, Stop);
+ return initTags<sizeof(Use*)>(Start, Stop);
}
template<>
Modified: llvm/branches/ggreif/waymark-64-new/lib/IR/Use.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/ggreif/waymark-64-new/lib/IR/Use.cpp?rev=201961&r1=201960&r2=201961&view=diff
==============================================================================
--- llvm/branches/ggreif/waymark-64-new/lib/IR/Use.cpp (original)
+++ llvm/branches/ggreif/waymark-64-new/lib/IR/Use.cpp Sat Feb 22 17:38:35 2014
@@ -88,7 +88,7 @@ const Use *Use::getImpliedUser<8>() cons
//===----------------------------------------------------------------------===//
template<>
-Use *Use::newInitTags<8>(Use * const Start, Use *Stop) {
+Use *Use::initTags<8>(Use * const Start, Use *Stop) {
ptrdiff_t Done = 0;
while (Done < 32) {
if (Start == Stop--)
More information about the llvm-branch-commits
mailing list