diff options
Diffstat (limited to 'lib/CodeGen/MachineFunction.cpp')
-rw-r--r-- | lib/CodeGen/MachineFunction.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/MachineFunction.cpp b/lib/CodeGen/MachineFunction.cpp index ce39b45f12..f32f647e11 100644 --- a/lib/CodeGen/MachineFunction.cpp +++ b/lib/CodeGen/MachineFunction.cpp @@ -139,7 +139,7 @@ int MachineCodeForMethod::computeOffsetforLocalVar(const TargetMachine& target, const Value* val, unsigned int& getPaddedSize, - unsigned int sizeToUse = 0) + unsigned int sizeToUse) { bool growUp; int firstOffset =target.getFrameInfo().getFirstAutomaticVarOffset(*this, @@ -174,7 +174,7 @@ MachineCodeForMethod::computeOffsetforLocalVar(const TargetMachine& target, int MachineCodeForMethod::allocateLocalVar(const TargetMachine& target, const Value* val, - unsigned int sizeToUse = 0) + unsigned int sizeToUse) { assert(! automaticVarsAreaFrozen && "Size of auto vars area has been used to compute an offset so " |