mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-05 02:16:46 +00:00
Improve comments a even more.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95740 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bd63520161
commit
d3a47a3ef3
@ -887,7 +887,6 @@ void DwarfException::EmitExceptionTable() {
|
|||||||
|
|
||||||
// Emit the Action Table.
|
// Emit the Action Table.
|
||||||
if (Actions.size() != 0) EOL("-- Action Record Table --");
|
if (Actions.size() != 0) EOL("-- Action Record Table --");
|
||||||
unsigned Iter = 1;
|
|
||||||
for (SmallVectorImpl<ActionEntry>::const_iterator
|
for (SmallVectorImpl<ActionEntry>::const_iterator
|
||||||
I = Actions.begin(), E = Actions.end(); I != E; ++I) {
|
I = Actions.begin(), E = Actions.end(); I != E; ++I) {
|
||||||
const ActionEntry &Action = *I;
|
const ActionEntry &Action = *I;
|
||||||
@ -907,7 +906,7 @@ void DwarfException::EmitExceptionTable() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Emit the Catch TypeInfos.
|
// Emit the Catch TypeInfos.
|
||||||
Iter = TypeInfos.size();
|
if (TypeInfos.size() != 0) EOL("-- Catch TypeInfos --");
|
||||||
for (std::vector<GlobalVariable *>::const_reverse_iterator
|
for (std::vector<GlobalVariable *>::const_reverse_iterator
|
||||||
I = TypeInfos.rbegin(), E = TypeInfos.rend(); I != E; ++I) {
|
I = TypeInfos.rbegin(), E = TypeInfos.rend(); I != E; ++I) {
|
||||||
const GlobalVariable *GV = *I;
|
const GlobalVariable *GV = *I;
|
||||||
@ -915,7 +914,7 @@ void DwarfException::EmitExceptionTable() {
|
|||||||
|
|
||||||
if (GV) {
|
if (GV) {
|
||||||
O << *Asm->GetGlobalValueSymbol(GV);
|
O << *Asm->GetGlobalValueSymbol(GV);
|
||||||
EOL(Twine("TypeInfo ") + Twine(Iter--));
|
EOL("TypeInfo");
|
||||||
} else {
|
} else {
|
||||||
O << "0x0";
|
O << "0x0";
|
||||||
EOL("");
|
EOL("");
|
||||||
@ -923,6 +922,7 @@ void DwarfException::EmitExceptionTable() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Emit the Exception Specifications.
|
// Emit the Exception Specifications.
|
||||||
|
if (FilterIds.size() != 0) EOL("-- Filter IDs --");
|
||||||
for (std::vector<unsigned>::const_iterator
|
for (std::vector<unsigned>::const_iterator
|
||||||
I = FilterIds.begin(), E = FilterIds.end(); I < E; ++I) {
|
I = FilterIds.begin(), E = FilterIds.end(); I < E; ++I) {
|
||||||
unsigned TypeID = *I;
|
unsigned TypeID = *I;
|
||||||
|
Loading…
Reference in New Issue
Block a user