mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-23 16:19:52 +00:00
Clean up assignment of CalleeSaveStackSlotSize: get rid of the default and explicitly set this in every target that needs to change it from the default.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173270 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -351,12 +351,7 @@ namespace llvm {
|
||||
/// getCalleeSaveStackSlotSize - Get the callee-saved register stack slot
|
||||
/// size in bytes.
|
||||
unsigned getCalleeSaveStackSlotSize() const {
|
||||
// If a target doesn't explicitly initialize this member, PointerSize is
|
||||
// used by default.
|
||||
if (CalleeSaveStackSlotSize == 0)
|
||||
return PointerSize;
|
||||
else
|
||||
return CalleeSaveStackSlotSize;
|
||||
return CalleeSaveStackSlotSize;
|
||||
}
|
||||
|
||||
/// isLittleEndian - True if the target is little endian.
|
||||
|
||||
Reference in New Issue
Block a user