[llvm-branch-commits] [llvm-branch] r109195 - /llvm/branches/ggreif/waymark-64/lib/VMCore/Use.cpp
Gabor Greif
ggreif at gmail.com
Thu Jul 22 16:10:23 PDT 2010
Author: ggreif
Date: Thu Jul 22 18:10:23 2010
New Revision: 109195
URL: http://llvm.org/viewvc/llvm-project?rev=109195&view=rev
Log:
getImpliedUser<3> works, check-lit passes :-)
Modified:
llvm/branches/ggreif/waymark-64/lib/VMCore/Use.cpp
Modified: llvm/branches/ggreif/waymark-64/lib/VMCore/Use.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/ggreif/waymark-64/lib/VMCore/Use.cpp?rev=109195&r1=109194&r2=109195&view=diff
==============================================================================
--- llvm/branches/ggreif/waymark-64/lib/VMCore/Use.cpp (original)
+++ llvm/branches/ggreif/waymark-64/lib/VMCore/Use.cpp Thu Jul 22 18:10:23 2010
@@ -73,7 +73,7 @@
}
}
- case fullStopTag:
+ case fullStop64Tag:
return Current;
}
}
@@ -152,6 +152,9 @@
template <>
Use *Use::initTags<3>(Use * const Start, Use *Stop, ptrdiff_t Done) {
+ if (Start == Stop)
+ return Start;
+
if (Done == 0) {
++Done;
--Stop;
More information about the llvm-branch-commits
mailing list