mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Emit the "is an intrinsic overloaded" table as a bitfield.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151792 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -372,13 +372,9 @@ FunctionType *Intrinsic::getType(LLVMContext &Context,
|
||||
}
|
||||
|
||||
bool Intrinsic::isOverloaded(ID id) {
|
||||
static const bool OTable[] = {
|
||||
false,
|
||||
#define GET_INTRINSIC_OVERLOAD_TABLE
|
||||
#include "llvm/Intrinsics.gen"
|
||||
#undef GET_INTRINSIC_OVERLOAD_TABLE
|
||||
};
|
||||
return OTable[id];
|
||||
}
|
||||
|
||||
/// This defines the "Intrinsic::getAttributes(ID id)" method.
|
||||
|
Reference in New Issue
Block a user