File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -324,12 +324,12 @@ IntegerType *IntegerType::get(LLVMContext &C, unsigned NumBits) {
324
324
325
325
// Check for the built-in integer types
326
326
switch (NumBits) {
327
- case 1 : return cast<IntegerType>( Type::getInt1Ty (C) );
328
- case 8 : return cast<IntegerType>( Type::getInt8Ty (C) );
329
- case 16 : return cast<IntegerType>( Type::getInt16Ty (C) );
330
- case 32 : return cast<IntegerType>( Type::getInt32Ty (C) );
331
- case 64 : return cast<IntegerType>( Type::getInt64Ty (C) );
332
- case 128 : return cast<IntegerType>( Type::getInt128Ty (C) );
327
+ case 1 : return Type::getInt1Ty (C);
328
+ case 8 : return Type::getInt8Ty (C);
329
+ case 16 : return Type::getInt16Ty (C);
330
+ case 32 : return Type::getInt32Ty (C);
331
+ case 64 : return Type::getInt64Ty (C);
332
+ case 128 : return Type::getInt128Ty (C);
333
333
default :
334
334
break ;
335
335
}
You can’t perform that action at this time.
0 commit comments