Fix stylistic and documentation problems in ValueMap found by Nick Lewycky and
[oota-llvm.git] / include / llvm / InstrTypes.h
index cc923dec2987e51a98f8f033dd2dd5abd3db802f..45d366f1ef2029363ad8ca8a0f4e4c8d61ac3896 100644 (file)
@@ -116,8 +116,7 @@ public:
   // Methods for support type inquiry through isa, cast, and dyn_cast:
   static inline bool classof(const UnaryInstruction *) { return true; }
   static inline bool classof(const Instruction *I) {
-    return I->getOpcode() == Instruction::Malloc ||
-           I->getOpcode() == Instruction::Alloca ||
+    return I->getOpcode() == Instruction::Alloca ||
            I->getOpcode() == Instruction::Free ||
            I->getOpcode() == Instruction::Load ||
            I->getOpcode() == Instruction::VAArg ||