Fix padding when allocating local variables on stack.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1979 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Vikram S. Adve 2002-03-24 03:57:38 +00:00
parent 4fad513704
commit 4cbd55062d
2 changed files with 6 additions and 4 deletions

View File

@ -73,11 +73,12 @@ public:
int computeOffsetforLocalVar (const TargetMachine& target,
const Value* local,
unsigned int size = 0);
unsigned int& getPaddedSize,
unsigned int sizeToUse = 0);
int allocateLocalVar (const TargetMachine& target,
const Value* local,
unsigned int size = 0);
unsigned int sizeToUse = 0);
int allocateSpilledValue (const TargetMachine& target,
const Type* type);

View File

@ -73,11 +73,12 @@ public:
int computeOffsetforLocalVar (const TargetMachine& target,
const Value* local,
unsigned int size = 0);
unsigned int& getPaddedSize,
unsigned int sizeToUse = 0);
int allocateLocalVar (const TargetMachine& target,
const Value* local,
unsigned int size = 0);
unsigned int sizeToUse = 0);
int allocateSpilledValue (const TargetMachine& target,
const Type* type);