git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135323
91177308-0d34-0410-b5e6-
96231b3b80d8
/// getType - InlineAsm's are always pointers.
///
/// getType - InlineAsm's are always pointers.
///
- const PointerType *getType() const {
- return reinterpret_cast<const PointerType*>(Value::getType());
+ PointerType *getType() const {
+ return reinterpret_cast<PointerType*>(Value::getType());
}
/// getFunctionType - InlineAsm's are always pointers to functions.
///
}
/// getFunctionType - InlineAsm's are always pointers to functions.
///
- const FunctionType *getFunctionType() const;
+ FunctionType *getFunctionType() const;
const std::string &getAsmString() const { return AsmString; }
const std::string &getConstraintString() const { return Constraints; }
const std::string &getAsmString() const { return AsmString; }
const std::string &getConstraintString() const { return Constraints; }
-const FunctionType *InlineAsm::getFunctionType() const {
+FunctionType *InlineAsm::getFunctionType() const {
return cast<FunctionType>(getType()->getElementType());
}
return cast<FunctionType>(getType()->getElementType());
}