mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 02:29:18 +00:00
Rename Remember and Restore to RememberState and RestoreState for consistency.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147354 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1604ccfc01
commit
c25680f728
@ -271,7 +271,7 @@ namespace llvm {
|
||||
|
||||
class MCCFIInstruction {
|
||||
public:
|
||||
enum OpType { SameValue, Remember, Restore, Move, RelMove, Escape };
|
||||
enum OpType { SameValue, RememberState, RestoreState, Move, RelMove, Escape };
|
||||
private:
|
||||
OpType Operation;
|
||||
MCSymbol *Label;
|
||||
@ -282,7 +282,7 @@ namespace llvm {
|
||||
public:
|
||||
MCCFIInstruction(OpType Op, MCSymbol *L)
|
||||
: Operation(Op), Label(L) {
|
||||
assert(Op == Remember || Op == Restore);
|
||||
assert(Op == RememberState || Op == RestoreState);
|
||||
}
|
||||
MCCFIInstruction(OpType Op, MCSymbol *L, unsigned Register)
|
||||
: Operation(Op), Label(L), Destination(Register) {
|
||||
|
@ -971,11 +971,11 @@ void FrameEmitterImpl::EmitCFIInstruction(MCStreamer &Streamer,
|
||||
}
|
||||
return;
|
||||
}
|
||||
case MCCFIInstruction::Remember:
|
||||
case MCCFIInstruction::RememberState:
|
||||
if (VerboseAsm) Streamer.AddComment("DW_CFA_remember_state");
|
||||
Streamer.EmitIntValue(dwarf::DW_CFA_remember_state, 1);
|
||||
return;
|
||||
case MCCFIInstruction::Restore:
|
||||
case MCCFIInstruction::RestoreState:
|
||||
if (VerboseAsm) Streamer.AddComment("DW_CFA_restore_state");
|
||||
Streamer.EmitIntValue(dwarf::DW_CFA_restore_state, 1);
|
||||
return;
|
||||
|
@ -385,7 +385,7 @@ void MCStreamer::EmitCFIRememberState() {
|
||||
MCDwarfFrameInfo *CurFrame = getCurrentFrameInfo();
|
||||
MCSymbol *Label = getContext().CreateTempSymbol();
|
||||
EmitLabel(Label);
|
||||
MCCFIInstruction Instruction(MCCFIInstruction::Remember, Label);
|
||||
MCCFIInstruction Instruction(MCCFIInstruction::RememberState, Label);
|
||||
CurFrame->Instructions.push_back(Instruction);
|
||||
}
|
||||
|
||||
@ -395,7 +395,7 @@ void MCStreamer::EmitCFIRestoreState() {
|
||||
MCDwarfFrameInfo *CurFrame = getCurrentFrameInfo();
|
||||
MCSymbol *Label = getContext().CreateTempSymbol();
|
||||
EmitLabel(Label);
|
||||
MCCFIInstruction Instruction(MCCFIInstruction::Restore, Label);
|
||||
MCCFIInstruction Instruction(MCCFIInstruction::RestoreState, Label);
|
||||
CurFrame->Instructions.push_back(Instruction);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user