Move the InsertPrologEpilogCode class out of the Sparc.cpp file, and include
authorChris Lattner <sabre@nondot.org>
Tue, 9 Apr 2002 05:18:31 +0000 (05:18 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 9 Apr 2002 05:18:31 +0000 (05:18 +0000)
commitbcd6cc8951b4953b1757b2e7a3d6600c6b28ec12
tree0bd06ec4755c30294670454ed8e1e95df5f3a87e
parent9aa697b82eca37ddc2bd001152a157aedc97cc49
Move the InsertPrologEpilogCode class out of the Sparc.cpp file, and include
the bodies of the GetInstructionsFor(Prolog|Epilog) functions from
SparcInstrSelection.cpp into the class.  This eliminates the need for a static
global vector of instructions and a class of errors that is really unneccesary.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2193 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/SparcV9/SparcV9PrologEpilogInserter.cpp [new file with mode: 0644]