mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
Fix two typos in the doc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160762 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
303c909d5b
commit
7f7390e035
@ -2780,7 +2780,7 @@ second_end:
|
||||
make it fit in <tt>TYPE</tt>.</dd>
|
||||
|
||||
<dt><b><tt>inttoptr (CST to TYPE)</tt></b></dt>
|
||||
<dd>Convert a integer constant to a pointer constant. TYPE must be a pointer
|
||||
<dd>Convert an integer constant to a pointer constant. TYPE must be a pointer
|
||||
type. CST must be of integer type. The CST value is zero extended,
|
||||
truncated, or unchanged to make it fit in a pointer size. This one is
|
||||
<i>really</i> dangerous!</dd>
|
||||
|
@ -1970,7 +1970,7 @@ if (X < 3) {</pre>
|
||||
<li>Verify that a function's argument list agrees with its declared
|
||||
type.</li>
|
||||
<li>It is illegal to specify a name for a void value.</li>
|
||||
<li>It is illegal to have a internal global value with no initializer.</li>
|
||||
<li>It is illegal to have an internal global value with no initializer.</li>
|
||||
<li>It is illegal to have a ret instruction that returns a value that does
|
||||
not agree with the function return value type.</li>
|
||||
<li>Function call argument types match the function prototype.</li>
|
||||
|
Loading…
x
Reference in New Issue
Block a user