1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

Fix warning.

llvm-svn: 137658
This commit is contained in:
Devang Patel 2011-08-15 21:35:16 +00:00
parent 54ded8463c
commit 9ea2ce9b7b
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; }