| Index: lib/MC/MCObjectStreamer.cpp
|
| diff --git a/lib/MC/MCObjectStreamer.cpp b/lib/MC/MCObjectStreamer.cpp
|
| index 21e68678e75be9713578c7e965eecb57a5728fd3..73480dc73c025f5471d918410afb865ecf616d13 100644
|
| --- a/lib/MC/MCObjectStreamer.cpp
|
| +++ b/lib/MC/MCObjectStreamer.cpp
|
| @@ -203,6 +203,13 @@ void MCObjectStreamer::EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) {
|
|
|
| void MCObjectStreamer::EmitInstruction(const MCInst &Inst,
|
| const MCSubtargetInfo &STI) {
|
| + // @LOCALMOD-BEGIN
|
| + if (getAssembler().isBundlingEnabled() &&
|
| + getAssembler().getBackend().CustomExpandInst(Inst, *this)) {
|
| + return;
|
| + }
|
| + // @LOCALMOD-END
|
| +
|
| MCStreamer::EmitInstruction(Inst, STI);
|
|
|
| MCSectionData *SD = getCurrentSectionData();
|
|
|