@@ -161,8 +161,8 @@ class X86AsmBackend : public MCAsmBackend {
161
161
}
162
162
163
163
bool allowAutoPadding () const override ;
164
- void alignBranchesBegin (MCObjectStreamer &OS, const MCInst &Inst) override ;
165
- void alignBranchesEnd (MCObjectStreamer &OS, const MCInst &Inst) override ;
164
+ void emitInstructionBegin (MCObjectStreamer &OS, const MCInst &Inst) override ;
165
+ void emitInstructionEnd (MCObjectStreamer &OS, const MCInst &Inst) override ;
166
166
167
167
unsigned getNumFixupKinds () const override {
168
168
return X86::NumTargetFixupKinds;
@@ -171,7 +171,7 @@ class X86AsmBackend : public MCAsmBackend {
171
171
Optional<MCFixupKind> getFixupKind (StringRef Name) const override ;
172
172
173
173
const MCFixupKindInfo &getFixupKindInfo (MCFixupKind Kind) const override ;
174
-
174
+
175
175
bool shouldForceRelocation (const MCAssembler &Asm, const MCFixup &Fixup,
176
176
const MCValue &Target) override ;
177
177
@@ -512,7 +512,7 @@ bool X86AsmBackend::needAlignInst(const MCInst &Inst) const {
512
512
}
513
513
514
514
// / Insert BoundaryAlignFragment before instructions to align branches.
515
- void X86AsmBackend::alignBranchesBegin (MCObjectStreamer &OS,
515
+ void X86AsmBackend::emitInstructionBegin (MCObjectStreamer &OS,
516
516
const MCInst &Inst) {
517
517
if (!needAlign (OS))
518
518
return ;
@@ -538,7 +538,7 @@ void X86AsmBackend::alignBranchesBegin(MCObjectStreamer &OS,
538
538
//
539
539
// Do nothing here since we already inserted a BoudaryAlign fragment when
540
540
// we met the first instruction in the fused pair and we'll tie them
541
- // together in alignBranchesEnd .
541
+ // together in emitInstructionEnd .
542
542
//
543
543
// Note: When there is at least one fragment, such as MCAlignFragment,
544
544
// inserted after the previous instruction, e.g.
@@ -564,7 +564,7 @@ void X86AsmBackend::alignBranchesBegin(MCObjectStreamer &OS,
564
564
}
565
565
566
566
// / Set the last fragment to be aligned for the BoundaryAlignFragment.
567
- void X86AsmBackend::alignBranchesEnd (MCObjectStreamer &OS, const MCInst &Inst) {
567
+ void X86AsmBackend::emitInstructionEnd (MCObjectStreamer &OS, const MCInst &Inst) {
568
568
if (!needAlign (OS))
569
569
return ;
570
570
0 commit comments