diff options
| author | Chris Lattner <sabre@nondot.org> | 2002-12-16 23:36:57 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2002-12-16 23:36:57 +0000 |
| commit | 2e6f17f13625394f5fcab05366e41de7de5d75fa (patch) | |
| tree | 5fce055bc3edaead2e2c51f40a12d38b49a67235 | |
| parent | 4377c67bc642b40de34d4c3a276b391d5ebabf67 (diff) | |
| download | bcm5719-llvm-2e6f17f13625394f5fcab05366e41de7de5d75fa.tar.gz bcm5719-llvm-2e6f17f13625394f5fcab05366e41de7de5d75fa.zip | |
Build add instructions of the correct form!
llvm-svn: 5090
| -rw-r--r-- | llvm/lib/Target/X86/InstSelectSimple.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/InstSelectSimple.cpp b/llvm/lib/Target/X86/InstSelectSimple.cpp index 82dd6467f95..4cae283f7b0 100644 --- a/llvm/lib/Target/X86/InstSelectSimple.cpp +++ b/llvm/lib/Target/X86/InstSelectSimple.cpp @@ -599,7 +599,7 @@ ISel::visitCallInst (CallInst & CI) // Adjust the stack by `bytesPushed' amount if non-zero if (bytesPushed > 0) - BuildMI (BB, X86::ADDri32, 2).addReg(X86::ESP).addZImm(bytesPushed); + BuildMI (BB, X86::ADDri32,2,X86::ESP).addReg(X86::ESP).addZImm(bytesPushed); // If there is a return value, scavenge the result from the location the call // leaves it in... |

