[llvm-commits] CVS: llvm/lib/VMCore/Verifier.cpp
John Criswell
criswell at cs.uiuc.edu
Fri Apr 9 14:10:39 PDT 2004
Changes in directory llvm/lib/VMCore:
Verifier.cpp updated: 1.91 -> 1.92
---
Log message:
Reversed the order of the llvm.writeport() operands so that the value
is listed first and the address is listed second.
---
Diffs of the changes: (+2 -2)
Index: llvm/lib/VMCore/Verifier.cpp
diff -u llvm/lib/VMCore/Verifier.cpp:1.91 llvm/lib/VMCore/Verifier.cpp:1.92
--- llvm/lib/VMCore/Verifier.cpp:1.91 Thu Apr 8 15:27:38 2004
+++ llvm/lib/VMCore/Verifier.cpp Fri Apr 9 14:09:14 2004
@@ -611,9 +611,9 @@
case Intrinsic::writeport:
Assert1(FT->getNumParams() == 2,
"Illegal # arguments for intrinsic function!", IF);
- Assert1(FT->getParamType(0)->isUnsigned(),
+ Assert1(FT->getParamType(0)->isIntegral(),
"First argument not unsigned int!", IF);
- Assert1(FT->getParamType(1)->isIntegral(),
+ Assert1(FT->getParamType(1)->isUnsigned(),
"First argument not unsigned int!", IF);
NumArgs = 2;
break;
More information about the llvm-commits
mailing list