eliminate the old InstFormatName which is always "AsmString",
[oota-llvm.git] / include / llvm / Support / Allocator.h
index 0b7151a72c18ad387202e441f175e84fe8eb52fb..f3c53d14e5acf15c351782e5c556aa655135ddf9 100644 (file)
@@ -201,7 +201,7 @@ public:
       char *End = Slab == Allocator.CurSlab ? Allocator.CurPtr :
                                               (char *)Slab + Slab->Size;
       for (char *Ptr = (char*)(Slab+1); Ptr < End; Ptr += sizeof(T)) {
-        Ptr = Allocator.AlignPtr(Ptr, alignof<T>());
+        Ptr = Allocator.AlignPtr(Ptr, alignOf<T>());
         if (Ptr + sizeof(T) <= End)
           reinterpret_cast<T*>(Ptr)->~T();
       }