PPC NCG: Refactor stack allocation code
authorPeter Trommler <ptrommler@acm.org>
Mon, 17 Dec 2018 12:27:49 +0000 (13:27 +0100)
committerBen Gamari <ben@smart-cactus.org>
Wed, 16 Jan 2019 19:13:14 +0000 (14:13 -0500)
commit3f46cffcc2850e68405a113d4df7210c4748b4c1
treef58041b07da0598a1393a65b913b4d4643805f0a
parentda2d9cf8e028cd4e47285a71a720f33f112db69b
PPC NCG: Refactor stack allocation code

There is only one place where UPDATE_SP was used. Instead of the
UPDATE_SP pseudo instruction build the list of instructions directly.
compiler/nativeGen/PPC/Instr.hs
compiler/nativeGen/PPC/Ppr.hs