Rename Value::getValueType to getValueID, to avoid confusion with
[oota-llvm.git] / include / llvm / InlineAsm.h
index 98f254f5389649354bc24907558980255183ab91..1ba791c472ed043ab3b95d4839bb8ae5894735f2 100644 (file)
@@ -124,7 +124,7 @@ public:
   // Methods for support type inquiry through isa, cast, and dyn_cast:
   static inline bool classof(const InlineAsm *) { return true; }
   static inline bool classof(const Value *V) {
-    return V->getValueType() == Value::InlineAsmVal;
+    return V->getValueID() == Value::InlineAsmVal;
   }
 };