diff options
author | Chris Lattner <sabre@nondot.org> | 2009-10-27 21:49:40 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-10-27 21:49:40 +0000 |
commit | 5c5f0ac3629c1df6aebf861e56aabca6d1021753 (patch) | |
tree | 0c3d3a1189d2a5bd83cdddbe6e08e8386f861f70 /llvm | |
parent | da37b30b213ae1edf18e5a3e9e6523ce1c518a7e (diff) | |
download | bcm5719-llvm-5c5f0ac3629c1df6aebf861e56aabca6d1021753.tar.gz bcm5719-llvm-5c5f0ac3629c1df6aebf861e56aabca6d1021753.zip |
you can't take the address of the entry block of a function.
llvm-svn: 85321
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/docs/LangRef.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/docs/LangRef.html b/llvm/docs/LangRef.html index 6025b41ad70..3d4783a698b 100644 --- a/llvm/docs/LangRef.html +++ b/llvm/docs/LangRef.html @@ -2179,8 +2179,8 @@ has undefined behavior.</p> <p><b><tt>blockaddress(@function, %block)</tt></b></p> <p>The '<tt>blockaddress</tt>' constant computes the address of the specified - basic block in the specified function, and always has an i8* type.</p> - + basic block in the specified function, and always has an i8* type. Taking + the address of the entry block is illegal.</p> <p>This value only has defined behavior when used as an operand to the '<a href="#i_indbr"><tt>indbr</tt></a>' instruction or for comparisons |