mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
s/Method/Function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2035 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -304,8 +304,9 @@ public:
|
||||
Type::PrimitiveID ty = type->getPrimitiveID();
|
||||
unsigned res;
|
||||
|
||||
// FIXME: Comparing types like this isn't very safe...
|
||||
if ((ty && ty <= Type::LongTyID) || (ty == Type::LabelTyID) ||
|
||||
(ty == Type::MethodTyID) || (ty == Type::PointerTyID) )
|
||||
(ty == Type::FunctionTyID) || (ty == Type::PointerTyID) )
|
||||
res = IntRegClassID; // sparc int reg (ty=0: void)
|
||||
else if (ty <= Type::DoubleTyID)
|
||||
res = FloatRegClassID; // sparc float reg class
|
||||
|
Reference in New Issue
Block a user