Explain what "constant" means here.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117053 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2010-10-21 19:45:09 +00:00
parent 212ae937bb
commit bc078c81e6

View File

@ -28,7 +28,9 @@
// uniquely identifies the type. The second field identifies the type's // uniquely identifies the type. The second field identifies the type's
// parent node in the tree, or is null or omitted for a root node. // parent node in the tree, or is null or omitted for a root node.
// If the third field is present, it's an integer which if equal to 1 // If the third field is present, it's an integer which if equal to 1
// indicates that the type is "constant". // indicates that the type is "constant" (meaning
// pointsToConstantMemory should return true; see
// http://llvm.org/docs/AliasAnalysis.html#OtherItfs).
// //
// TODO: The current metadata encoding scheme doesn't support struct // TODO: The current metadata encoding scheme doesn't support struct
// fields. For example: // fields. For example: