summaryrefslogtreecommitdiffstats
path: root/include/llvm/InlineAsm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/InlineAsm.h')
-rw-r--r--include/llvm/InlineAsm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/InlineAsm.h b/include/llvm/InlineAsm.h
index 98f254f..1ba791c 100644
--- a/include/llvm/InlineAsm.h
+++ b/include/llvm/InlineAsm.h
@@ -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;
}
};