aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/CodeGen/MachineCodeForMethod.h5
-rw-r--r--include/llvm/CodeGen/MachineFunction.h5
2 files changed, 6 insertions, 4 deletions
diff --git a/include/llvm/CodeGen/MachineCodeForMethod.h b/include/llvm/CodeGen/MachineCodeForMethod.h
index 9970c1f926..d8f3339e17 100644
--- a/include/llvm/CodeGen/MachineCodeForMethod.h
+++ b/include/llvm/CodeGen/MachineCodeForMethod.h
@@ -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);
diff --git a/include/llvm/CodeGen/MachineFunction.h b/include/llvm/CodeGen/MachineFunction.h
index 9970c1f926..d8f3339e17 100644
--- a/include/llvm/CodeGen/MachineFunction.h
+++ b/include/llvm/CodeGen/MachineFunction.h
@@ -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);