Common: Add an intrusive list implementation; remove use of boost::intrusive::list.

This commit is contained in:
MerryMage 2016-08-06 22:23:01 +01:00
parent 9264e2e04c
commit 94b99f5949
6 changed files with 289 additions and 7 deletions

View file

@ -19,7 +19,7 @@ void DeadCodeElimination(IR::Block& block) {
// We iterate over the instructions in reverse order.
// This is because removing an instruction reduces the number of uses for earlier instructions.
if (block.instructions.empty()) {
if (block.instructions.IsEmpty()) {
return;
}