[llvm-branch-commits] [llvm-branch] r201991 - be more correct with the types

Gabor Greif ggreif at gmail.com
Sun Feb 23 12:08:24 PST 2014


Author: ggreif
Date: Sun Feb 23 14:08:23 2014
New Revision: 201991

URL: http://llvm.org/viewvc/llvm-project?rev=201991&view=rev
Log:
be more correct with the types

Modified:
    llvm/branches/ggreif/waymark-64-new/include/llvm/IR/Use.h

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=201991&r1=201990&r2=201991&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 Sun Feb 23 14:08:23 2014
@@ -157,14 +157,14 @@ template<>
 Use *Use::initTags<8>(Use * const Start, Use *Stop);
 
 inline Use * Use::initTags(Use *Start, Use *Stop) {
-  return initTags<sizeof(Use*)>(Start, Stop);
+  return initTags<sizeof(Use**)>(Start, Stop);
 }
 
 template<>
 const Use *Use::getImpliedUser<8>() const;
 
 inline const Use *Use::getImpliedUser() const {
-  return getImpliedUser<sizeof(Use*)>();
+  return getImpliedUser<sizeof(Use**)>();
 }
 
 





More information about the llvm-branch-commits mailing list