Quick fix for build errors caused by undefined
authorSean Callanan <scallanan@apple.com>
Tue, 13 Apr 2010 21:36:35 +0000 (21:36 +0000)
committerSean Callanan <scallanan@apple.com>
Tue, 13 Apr 2010 21:36:35 +0000 (21:36 +0000)
NULL.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101180 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/MC/MCDisassembler.h

index d463cdf049d01c32238a994bd29ef6043a0cebbb..dfb8ed5e8a1097c3134c24c2d239ef4434e370fe 100644 (file)
@@ -52,7 +52,7 @@ public:
   /// @return         - An array of instruction information, with one entry for
   ///                   each MCInst opcode this disassembler returns.
   ///                   NULL if there is no info for this target.
-  virtual EDInstInfo   *getEDInfo() const { return NULL; }
+  virtual EDInstInfo   *getEDInfo() const { return (EDInstInfo*)0; }
 };
 
 } // namespace llvm