| Index: src/IceCfg.cpp
|
| diff --git a/src/IceCfg.cpp b/src/IceCfg.cpp
|
| index 2900a764e1f98e1bc3d5cadfc9736378efb0f4fd..2a1fdb68d52291e4f5e83d6ca1357621f49d3862 100644
|
| --- a/src/IceCfg.cpp
|
| +++ b/src/IceCfg.cpp
|
| @@ -423,7 +423,8 @@ void Cfg::doBranchOpt() {
|
| // the target lowering class.
|
| void Cfg::emitTextHeader(const IceString &MangledName, GlobalContext *Ctx,
|
| const Assembler *Asm) {
|
| - // Note: Still used by emit IAS.
|
| + if (!ALLOW_DUMP)
|
| + return;
|
| Ostream &Str = Ctx->getStrEmit();
|
| Str << "\t.text\n";
|
| if (Ctx->getFlags().getFunctionSections())
|
| @@ -436,8 +437,6 @@ void Cfg::emitTextHeader(const IceString &MangledName, GlobalContext *Ctx,
|
| for (uint8_t I : Asm->getNonExecBundlePadding())
|
| Str.write_hex(I);
|
| Str << "\n";
|
| - if (Ctx->getFlags().getUseSandboxing())
|
| - Str << "\t.bundle_align_mode " << Asm->getBundleAlignLog2Bytes() << "\n";
|
| Str << MangledName << ":\n";
|
| }
|
|
|
|
|