OSDN Git Service

SlotIndexes used to store the index list in a crufty custom linked-list. I can't
authorLang Hames <lhames@gmail.com>
Tue, 17 Apr 2012 04:15:51 +0000 (04:15 +0000)
committerLang Hames <lhames@gmail.com>
Tue, 17 Apr 2012 04:15:51 +0000 (04:15 +0000)
commit613dfb219c167717576b2383ee57573f4d8f53cf
tree07093dae1017fa556064425e77cfcacce5d53c2d
parent33d9e89e5f8d7656e50353b014d5bb1b52f15e13
SlotIndexes used to store the index list in a crufty custom linked-list. I can't
for the life of me remember why I wrote it this way, but I can't see any good
reason for it now. This patch replaces the custom linked list with an ilist.

This change should preserve the existing numberings exactly, so no generated code
should change (if it does, file a bug!).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154904 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/SlotIndexes.h
lib/CodeGen/SlotIndexes.cpp