[llvm-commits] [llvm] r76209 - /llvm/trunk/lib/Target/SystemZ/SystemZInstrBuilder.h
Anton Korobeynikov
asl at math.spbu.ru
Fri Jul 17 11:29:00 PDT 2009
Author: asl
Date: Fri Jul 17 13:28:59 2009
New Revision: 76209
URL: http://llvm.org/viewvc/llvm-project?rev=76209&view=rev
Log:
Add missed return
Modified:
llvm/trunk/lib/Target/SystemZ/SystemZInstrBuilder.h
Modified: llvm/trunk/lib/Target/SystemZ/SystemZInstrBuilder.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/SystemZ/SystemZInstrBuilder.h?rev=76209&r1=76208&r2=76209&view=diff
==============================================================================
--- llvm/trunk/lib/Target/SystemZ/SystemZInstrBuilder.h (original)
+++ llvm/trunk/lib/Target/SystemZ/SystemZInstrBuilder.h Fri Jul 17 13:28:59 2009
@@ -94,7 +94,7 @@
else
assert(0);
- MIB.addImm(AM.Disp).addReg(AM.IndexReg);
+ return MIB.addImm(AM.Disp).addReg(AM.IndexReg);
}
/// addFrameReference - This function is used to add a reference to the base of
More information about the llvm-commits
mailing list