Change the createSpiller interface to take a MachineFunctionPass argument.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 20 Jul 2010 23:50:15 +0000 (23:50 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 20 Jul 2010 23:50:15 +0000 (23:50 +0000)
commitf2c6e367c1c0d8797e62e58a3ccdb8cceee27987
tree97477acab77a4bd9d3c5d2482d5df092ac10793e
parent549979f5509ef6ff14e1e46c141990deb8d8274e
Change the createSpiller interface to take a MachineFunctionPass argument.

The spillers can pluck the analyses they need from the pass reference.

Switch some never-null pointers to references.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108969 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/InlineSpiller.cpp
lib/CodeGen/RegAllocLinearScan.cpp
lib/CodeGen/Spiller.cpp
lib/CodeGen/Spiller.h
lib/CodeGen/SplitKit.cpp
lib/CodeGen/SplitKit.h