Fix gcc 3.1 complaint

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3091 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-07-25 17:37:05 +00:00
parent e95ce74b80
commit 601d715959

View File

@ -1376,7 +1376,7 @@ void Interpreter::infoValue(const std::string &Name) {
// printStackFrame - Print information about the specified stack frame, or -1 // printStackFrame - Print information about the specified stack frame, or -1
// for the default one. // for the default one.
// //
void Interpreter::printStackFrame(int FrameNo = -1) { void Interpreter::printStackFrame(int FrameNo) {
if (FrameNo == -1) FrameNo = CurFrame; if (FrameNo == -1) FrameNo = CurFrame;
Function *F = ECStack[FrameNo].CurMethod; Function *F = ECStack[FrameNo].CurMethod;
const Type *RetTy = F->getReturnType(); const Type *RetTy = F->getReturnType();