Fix warning.

llvm-svn: 137658
This commit is contained in:
Devang Patel 2011-08-15 21:35:16 +00:00
parent 5286bd2d01
commit 900d97719b
2 changed files with 2 additions and 2 deletions

View File

@ -467,7 +467,7 @@ DIE *DwarfDebug::constructVariableDIE(DbgVariable *DV, LexicalScope *Scope) {
} else {
// .. else use frame index.
int FI = DV->getFrameIndex();
if (FI != ~0U) {
if (FI != ~0) {
unsigned FrameReg = 0;
const TargetFrameLowering *TFI = Asm->TM.getFrameLowering();
int Offset =

View File

@ -132,7 +132,7 @@ public:
// AbsVar may be NULL.
DbgVariable(DIVariable V, DbgVariable *AV)
: Var(V), TheDIE(0), DotDebugLocOffset(~0U), AbsVar(AV), MInsn(0),
FrameIndex(~0U) {}
FrameIndex(~0) {}
// Accessors.
DIVariable getVariable() const { return Var; }