From d4ef813fd5efc03775fea5694b06c126e429de2d Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Sat, 7 Dec 2013 03:30:59 +0000 Subject: [PATCH] Correct think-o in foldPatchpoint. Thanks to Andy Trick for pointing it out. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196640 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/TargetInstrInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CodeGen/TargetInstrInfo.cpp b/lib/CodeGen/TargetInstrInfo.cpp index 7c5092bfa2e..bdb1a6cefe5 100644 --- a/lib/CodeGen/TargetInstrInfo.cpp +++ b/lib/CodeGen/TargetInstrInfo.cpp @@ -425,7 +425,7 @@ static MachineInstr* foldPatchpoint(MachineFunction &MF, MIB.addImm(StackMaps::IndirectMemRefOp); MIB.addImm(SpillSize); MIB.addFrameIndex(FrameIndex); - MIB.addImm(0); + MIB.addImm(SpillOffset); } else MIB.addOperand(MO);