HomePhabricator

Change Function::getIntrinsicID() to return an Intrinsic::ID. NFC.

Authored by pete on May 20 2015, 10:16 AM.

Description

Change Function::getIntrinsicID() to return an Intrinsic::ID. NFC.

Now that Intrinsic::ID is a typed enum, we can forward declare it and so return it from this method.

This updates all users which were either using an unsigned to store it, or had a now unnecessary cast.

llvm-svn: 237810

Details

Committed
peteMay 20 2015, 10:16 AM
Parents
rG0ebbe74b73c6: Temporary delete the test while we're investigating crashes in LLVMObject it…
Branches
Unknown
Tags
Unknown