mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-05 12:31:46 +00:00
Clear the whole array, always.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19482 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2bbea35ce9
commit
7abf820182
@ -23,7 +23,7 @@ TargetLowering::TargetLowering(TargetMachine &tm)
|
||||
|
||||
IsLittleEndian = TD.isLittleEndian();
|
||||
PointerTy = getValueType(TD.getIntPtrType());
|
||||
memset(UnsupportedOps, 0, ISD::BUILTIN_OP_END*sizeof(short));
|
||||
memset(UnsupportedOps, 0, 128*sizeof(short));
|
||||
memset(RegClassForVT, 0,MVT::LAST_VALUETYPE*sizeof(TargetRegisterClass*));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user