diff options
author | Chris Lattner <sabre@nondot.org> | 2004-06-10 06:19:25 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-06-10 06:19:25 +0000 |
commit | 32305f7763ac0ab7ddad2ee97bd075591962cb3a (patch) | |
tree | bb5e6ac025aaa888e0289081488b9f49ca845cca /lib | |
parent | 3285a6f426d02ee2d9ca880ac11838636a28c17d (diff) | |
download | external_llvm-32305f7763ac0ab7ddad2ee97bd075591962cb3a.zip external_llvm-32305f7763ac0ab7ddad2ee97bd075591962cb3a.tar.gz external_llvm-32305f7763ac0ab7ddad2ee97bd075591962cb3a.tar.bz2 |
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')
-rw-r--r-- | lib/Target/PowerPC/PowerPCTargetMachine.cpp | 2 | ||||
-rw-r--r-- | lib/Target/X86/X86TargetMachine.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/PowerPC/PowerPCTargetMachine.cpp b/lib/Target/PowerPC/PowerPCTargetMachine.cpp index 9a9a020..bf57b15 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 diff --git a/lib/Target/X86/X86TargetMachine.cpp b/lib/Target/X86/X86TargetMachine.cpp index a1884a6..97d82e0 100644 --- a/lib/Target/X86/X86TargetMachine.cpp +++ b/lib/Target/X86/X86TargetMachine.cpp @@ -50,7 +50,7 @@ TargetMachine *llvm::allocateX86TargetMachine(const Module &M, /// X86TargetMachine::X86TargetMachine(const Module &M, IntrinsicLowering *IL) : TargetMachine("X86", IL, true, 4, 4, 4, 4, 4), - FrameInfo(TargetFrameInfo::StackGrowsDown, 8/*16 for SSE*/, 4), + FrameInfo(TargetFrameInfo::StackGrowsDown, 8/*16 for SSE*/, -4), JITInfo(*this) { } |