aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PowerPCTargetMachine.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-06-10 06:19:25 +0000
committerChris Lattner <sabre@nondot.org>2004-06-10 06:19:25 +0000
commit32305f7763ac0ab7ddad2ee97bd075591962cb3a (patch)
treebb5e6ac025aaa888e0289081488b9f49ca845cca /lib/Target/PowerPC/PowerPCTargetMachine.cpp
parent3285a6f426d02ee2d9ca880ac11838636a28c17d (diff)
Fix the fixed stack offset, patch contributed by Vladimir Prus
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14110 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PowerPCTargetMachine.cpp')
-rw-r--r--lib/Target/PowerPC/PowerPCTargetMachine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PowerPCTargetMachine.cpp b/lib/Target/PowerPC/PowerPCTargetMachine.cpp
index 9a9a020b64..bf57b15501 100644
--- a/lib/Target/PowerPC/PowerPCTargetMachine.cpp
+++ b/lib/Target/PowerPC/PowerPCTargetMachine.cpp
@@ -32,7 +32,7 @@ TargetMachine *llvm::allocatePowerPCTargetMachine(const Module &M,
PowerPCTargetMachine::PowerPCTargetMachine(const Module &M,
IntrinsicLowering *IL)
: TargetMachine("PowerPC", IL, true, 4, 4, 4, 4, 4),
- FrameInfo(TargetFrameInfo::StackGrowsDown, 8, 4), JITInfo(*this) {
+ FrameInfo(TargetFrameInfo::StackGrowsDown, 8, -4), JITInfo(*this) {
}
/// addPassesToEmitAssembly - Add passes to the specified pass manager