[llvm-commits] CVS: llvm/include/llvm/Type.h
Chris Lattner
lattner at cs.uiuc.edu
Tue Oct 12 10:08:57 PDT 2004
Changes in directory llvm/include/llvm:
Type.h updated: 1.64 -> 1.65
---
Log message:
Add comment
---
Diffs of the changes: (+2 -0)
Index: llvm/include/llvm/Type.h
diff -u llvm/include/llvm/Type.h:1.64 llvm/include/llvm/Type.h:1.65
--- llvm/include/llvm/Type.h:1.64 Tue Oct 12 12:06:17 2004
+++ llvm/include/llvm/Type.h Tue Oct 12 12:08:44 2004
@@ -192,6 +192,8 @@
inline bool isDerivedType() const { return ID >= FirstDerivedTyID; }
/// isFirstClassType - Return true if the value is holdable in a register.
+ /// Note that we consider opaque types to be first class, as they may be
+ /// resolved to a first class type later.
inline bool isFirstClassType() const {
return (ID != VoidTyID && ID <= LastPrimitiveTyID) ||
ID == PointerTyID || ID == PackedTyID || ID == OpaqueTyID;
More information about the llvm-commits
mailing list