[llvm-commits] [llvm] r101180 - /llvm/trunk/include/llvm/MC/MCDisassembler.h

Sean Callanan scallanan at apple.com
Tue Apr 13 14:36:35 PDT 2010


Author: spyffe
Date: Tue Apr 13 16:36:35 2010
New Revision: 101180

URL: http://llvm.org/viewvc/llvm-project?rev=101180&view=rev
Log:
Quick fix for build errors caused by undefined
NULL.

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

Modified: llvm/trunk/include/llvm/MC/MCDisassembler.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCDisassembler.h?rev=101180&r1=101179&r2=101180&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/MCDisassembler.h (original)
+++ llvm/trunk/include/llvm/MC/MCDisassembler.h Tue Apr 13 16:36:35 2010
@@ -52,7 +52,7 @@
   /// @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





More information about the llvm-commits mailing list