Index: src/IceIntrinsics.h |
diff --git a/src/IceIntrinsics.h b/src/IceIntrinsics.h |
index 75e67aa70cd52cd39dc8b355eb353b1fecef041d..9270aa4a4f69541acb81e19caecbbcf90c482307 100644 |
--- a/src/IceIntrinsics.h |
+++ b/src/IceIntrinsics.h |
@@ -140,13 +140,13 @@ public: |
/// Returns the return type of the intrinsic. |
Type getReturnType() const { |
- assert(NumTypes > 1); |
+ assert(NumTypes > 0); |
return Signature[0]; |
} |
/// Returns number of arguments expected. |
SizeT getNumArgs() const { |
- assert(NumTypes > 1); |
+ assert(NumTypes > 0); |
return NumTypes - 1; |
} |