[llvm-commits] [llvm] r62976 - /llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp
Chris Lattner
sabre at nondot.org
Sun Jan 25 15:08:01 PST 2009
Author: lattner
Date: Sun Jan 25 17:08:00 2009
New Revision: 62976
URL: http://llvm.org/viewvc/llvm-project?rev=62976&view=rev
Log:
silence a warning when assertions are disabled.
Modified:
llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp?rev=62976&r1=62975&r2=62976&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp Sun Jan 25 17:08:00 2009
@@ -399,9 +399,9 @@
CallSDNode *TheCall = cast<CallSDNode>(Op.getNode());
MVT RetVT = TheCall->getRetValType(0);
SDValue Chain = TheCall->getChain();
- unsigned CallConv = TheCall->getCallingConv();
- assert((CallConv == CallingConv::C ||
- CallConv == CallingConv::Fast) && "unknown calling convention");
+ assert((TheCall->getCallingConv() == CallingConv::C ||
+ TheCall->getCallingConv() == CallingConv::Fast) &&
+ "unknown calling convention");
SDValue Callee = TheCall->getCallee();
unsigned NumOps = TheCall->getNumArgs();
unsigned ArgOffset = 0; // Frame mechanisms handle retaddr slot
More information about the llvm-commits
mailing list