Deleted Added
full compact
49d48
< #include <map>
268a268,278
> // FIXME: Temporary workaround for <rdar://problem/7759363>: The post-RA
> // scheduler has some sort of problem with DebugValue instructions that
> // causes an assertion in LeaksContext.h to fail occasionally. Just
> // remove all those instructions for now.
> for (MachineBasicBlock::iterator I = MBB->begin(), E = MBB->end();
> I != E; ) {
> MachineInstr *MI = &*I++;
> if (MI->isDebugValue())
> MI->eraseFromParent();
> }
>
277c287
< Scheduler.EmitSchedule(0);
---
> Scheduler.EmitSchedule();
289c299
< Scheduler.EmitSchedule(0);
---
> Scheduler.EmitSchedule();