mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-24 15:12:36 +00:00
s/beginScope/beginInstruction/g
s/endScope/endInstruction/g git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117376 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a88ea03bf2
commit
cbbe287f8a
@ -638,7 +638,7 @@ void AsmPrinter::EmitFunctionBody() {
|
|||||||
|
|
||||||
if (ShouldPrintDebugScopes) {
|
if (ShouldPrintDebugScopes) {
|
||||||
NamedRegionTimer T(DbgTimerName, DWARFGroupName, TimePassesIsEnabled);
|
NamedRegionTimer T(DbgTimerName, DWARFGroupName, TimePassesIsEnabled);
|
||||||
DD->beginScope(II);
|
DD->beginInstruction(II);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isVerbose())
|
if (isVerbose())
|
||||||
@ -672,7 +672,7 @@ void AsmPrinter::EmitFunctionBody() {
|
|||||||
|
|
||||||
if (ShouldPrintDebugScopes) {
|
if (ShouldPrintDebugScopes) {
|
||||||
NamedRegionTimer T(DbgTimerName, DWARFGroupName, TimePassesIsEnabled);
|
NamedRegionTimer T(DbgTimerName, DWARFGroupName, TimePassesIsEnabled);
|
||||||
DD->endScope(II);
|
DD->endInstruction(II);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2457,8 +2457,8 @@ const MCSymbol *DwarfDebug::getLabelAfterInsn(const MachineInstr *MI) {
|
|||||||
return I->second;
|
return I->second;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// beginScope - Process beginning of a scope.
|
/// beginInstruction - Process beginning of an instruction.
|
||||||
void DwarfDebug::beginScope(const MachineInstr *MI) {
|
void DwarfDebug::beginInstruction(const MachineInstr *MI) {
|
||||||
if (InsnNeedsLabel.count(MI) == 0) {
|
if (InsnNeedsLabel.count(MI) == 0) {
|
||||||
LabelsBeforeInsn[MI] = PrevLabel;
|
LabelsBeforeInsn[MI] = PrevLabel;
|
||||||
return;
|
return;
|
||||||
@ -2492,8 +2492,8 @@ void DwarfDebug::beginScope(const MachineInstr *MI) {
|
|||||||
assert (0 && "Instruction is not processed!");
|
assert (0 && "Instruction is not processed!");
|
||||||
}
|
}
|
||||||
|
|
||||||
/// endScope - Process end of a scope.
|
/// endInstruction - Process end of an instruction.
|
||||||
void DwarfDebug::endScope(const MachineInstr *MI) {
|
void DwarfDebug::endInstruction(const MachineInstr *MI) {
|
||||||
if (InsnsEndScopeSet.count(MI) != 0) {
|
if (InsnsEndScopeSet.count(MI) != 0) {
|
||||||
// Emit a label if this instruction ends a scope.
|
// Emit a label if this instruction ends a scope.
|
||||||
MCSymbol *Label = MMI->getContext().CreateTempSymbol();
|
MCSymbol *Label = MMI->getContext().CreateTempSymbol();
|
||||||
|
@ -631,11 +631,11 @@ public:
|
|||||||
/// getLabelAfterInsn - Return Label immediately following the instruction.
|
/// getLabelAfterInsn - Return Label immediately following the instruction.
|
||||||
const MCSymbol *getLabelAfterInsn(const MachineInstr *MI);
|
const MCSymbol *getLabelAfterInsn(const MachineInstr *MI);
|
||||||
|
|
||||||
/// beginScope - Process beginning of a scope.
|
/// beginInstruction - Process beginning of an instruction.
|
||||||
void beginScope(const MachineInstr *MI);
|
void beginInstruction(const MachineInstr *MI);
|
||||||
|
|
||||||
/// endScope - Prcess end of a scope.
|
/// endInstruction - Prcess end of an instruction.
|
||||||
void endScope(const MachineInstr *MI);
|
void endInstruction(const MachineInstr *MI);
|
||||||
};
|
};
|
||||||
} // End of namespace llvm
|
} // End of namespace llvm
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user