| Index: src/IceCfg.cpp
|
| diff --git a/src/IceCfg.cpp b/src/IceCfg.cpp
|
| index f7b1a8c6e0b99823230cf7263ba34521d5ada63f..bf7be51c1df74cc1921b86c1a347ec61780abb13 100644
|
| --- a/src/IceCfg.cpp
|
| +++ b/src/IceCfg.cpp
|
| @@ -34,8 +34,8 @@ ArenaAllocator<> *getCurrentCfgAllocator() {
|
| return Cfg::getCurrentCfgAllocator();
|
| }
|
|
|
| -Cfg::Cfg(GlobalContext *Ctx, uint32_t SequenceNumber)
|
| - : Ctx(Ctx), SequenceNumber(SequenceNumber),
|
| +Cfg::Cfg(GlobalContext *MyCtx, uint32_t MySequenceNumber)
|
| + : Ctx(MyCtx), SequenceNumber(MySequenceNumber),
|
| VMask(Ctx->getFlags().getVerbose()), NextInstNumber(Inst::NumberInitial),
|
| Allocator(new ArenaAllocator<>()), Live(nullptr),
|
| Target(TargetLowering::createLowering(Ctx->getFlags().getTargetArch(),
|
| @@ -567,7 +567,7 @@ void Cfg::emit() {
|
| IceString MangledName = getContext()->mangleName(getFunctionName());
|
| emitTextHeader(MangledName, Ctx, getAssembler<>());
|
| for (CfgNode *Node : Nodes)
|
| - Node->emit(this);
|
| + Node->emit();
|
| Str << "\n";
|
| }
|
|
|
| @@ -576,7 +576,7 @@ void Cfg::emitIAS() {
|
| // The emitIAS() routines emit into the internal assembler buffer,
|
| // so there's no need to lock the streams.
|
| for (CfgNode *Node : Nodes)
|
| - Node->emitIAS(this);
|
| + Node->emitIAS();
|
| }
|
|
|
| // Dumps the IR with an optional introductory message.
|
| @@ -620,7 +620,7 @@ void Cfg::dump(const IceString &Message) {
|
| }
|
| // Print each basic block
|
| for (CfgNode *Node : Nodes)
|
| - Node->dump(this);
|
| + Node->dump();
|
| if (isVerbose(IceV_Instructions))
|
| Str << "}\n";
|
| }
|
|
|