[llvm-commits] [llvm] r79778 - /llvm/trunk/include/llvm/MC/MCAsmInfo.h

Chris Lattner sabre at nondot.org
Sat Aug 22 14:45:03 PDT 2009


Author: lattner
Date: Sat Aug 22 16:45:03 2009
New Revision: 79778

URL: http://llvm.org/viewvc/llvm-project?rev=79778&view=rev
Log:
fix a build error on the clang-i686-linux tester.

Modified:
    llvm/trunk/include/llvm/MC/MCAsmInfo.h

Modified: llvm/trunk/include/llvm/MC/MCAsmInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCAsmInfo.h?rev=79778&r1=79777&r2=79778&view=diff

==============================================================================
--- llvm/trunk/include/llvm/MC/MCAsmInfo.h (original)
+++ llvm/trunk/include/llvm/MC/MCAsmInfo.h Sat Aug 22 16:45:03 2009
@@ -156,7 +156,7 @@
     /// data of the specified size to the specified numeric address space.
     virtual const char *getDataASDirective(unsigned Size, unsigned AS) const {
       assert(AS != 0 && "Don't know the directives for default addr space");
-      return NULL;
+      return 0;
     }
 
     /// SunStyleELFSectionSwitchSyntax - This is true if this target uses "Sun





More information about the llvm-commits mailing list