More whitespace fixin'.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63663 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling 2009-02-03 21:38:21 +00:00
parent b9dcef2a00
commit ef7e18e60c

View File

@ -2783,7 +2783,7 @@ private:
CompileUnit *Unit = new CompileUnit(ID, Die);
if (DIUnit.isMain()) {
assert (!MainCU && "Multiple main compile units are found!");
assert(!MainCU && "Multiple main compile units are found!");
MainCU = Unit;
}
DW_CUs[DIUnit.getGV()] = Unit;
@ -2889,7 +2889,6 @@ public:
/// SetDebugInfo - Create global DIEs and emit initial debug info sections.
/// This is inovked by the target AsmPrinter.
void SetDebugInfo(MachineModuleInfo *mmi) {
// Create all the compile unit DIEs.
ConstructCompileUnits();
@ -3082,13 +3081,13 @@ public:
unsigned Tag = DI.getTag();
switch (Tag) {
case DW_TAG_variable:
assert (DIVariable(GV).Verify() && "Invalid DebugInfo value");
assert(DIVariable(GV).Verify() && "Invalid DebugInfo value");
break;
case DW_TAG_compile_unit:
assert (DICompileUnit(GV).Verify() && "Invalid DebugInfo value");
assert(DICompileUnit(GV).Verify() && "Invalid DebugInfo value");
break;
case DW_TAG_subprogram:
assert (DISubprogram(GV).Verify() && "Invalid DebugInfo value");
assert(DISubprogram(GV).Verify() && "Invalid DebugInfo value");
break;
default:
break;
@ -3102,7 +3101,7 @@ public:
/// correspondence to the source line list.
unsigned RecordSourceLine(Value *V, unsigned Line, unsigned Col) {
CompileUnit *Unit = DW_CUs[V];
assert (Unit && "Unable to find CompileUnit");
assert(Unit && "Unable to find CompileUnit");
unsigned ID = MMI->NextLabelID();
Lines.push_back(SrcLineInfo(Line, Col, Unit->getID(), ID));
return ID;
@ -3161,7 +3160,7 @@ public:
DIVariable DV(GV);
Scope = getOrCreateScope(DV.getContext().getGV());
}
assert (Scope && "Unable to find variable' scope");
assert(Scope && "Unable to find variable' scope");
DbgVariable *DV = new DbgVariable(DIVariable(GV), FrameIndex);
Scope->AddVariable(DV);
}