[llvm-commits] CVS: llvm/include/llvm/AbstractTypeUser.h Value.h
Chris Lattner
lattner at cs.uiuc.edu
Tue Aug 3 21:45:54 PDT 2004
Changes in directory llvm/include/llvm:
AbstractTypeUser.h updated: 1.21 -> 1.22
Value.h updated: 1.61 -> 1.62
---
Log message:
New methods
---
Diffs of the changes: (+8 -0)
Index: llvm/include/llvm/AbstractTypeUser.h
diff -u llvm/include/llvm/AbstractTypeUser.h:1.21 llvm/include/llvm/AbstractTypeUser.h:1.22
--- llvm/include/llvm/AbstractTypeUser.h:1.21 Wed Jul 14 15:10:26 2004
+++ llvm/include/llvm/AbstractTypeUser.h Tue Aug 3 23:45:42 2004
@@ -164,6 +164,10 @@
return operator=(H.Ty);
}
+ /// getRawType - This should only be used to implement the vmcore library.
+ ///
+ const Type *getRawType() const { return Ty; }
+
private:
void addRef();
void dropRef();
Index: llvm/include/llvm/Value.h
diff -u llvm/include/llvm/Value.h:1.61 llvm/include/llvm/Value.h:1.62
--- llvm/include/llvm/Value.h:1.61 Fri Jul 30 01:59:15 2004
+++ llvm/include/llvm/Value.h Tue Aug 3 23:45:42 2004
@@ -141,6 +141,10 @@
return true; // Values are always values.
}
+ /// getRawType - This should only be used to implement the vmcore library.
+ ///
+ const Type *getRawType() const { return Ty.getRawType(); }
+
private:
/// FIXME: this is a gross hack, needed by another gross hack. Eliminate!
void setValueType(unsigned VT) { SubclassID = VT; }
More information about the llvm-commits
mailing list