OSDN Git Service

Apparently it's possible to do an 'invoke asm'.
authorNuno Lopes <nunoplopes@sapo.pt>
Tue, 17 Jul 2012 23:51:33 +0000 (23:51 +0000)
committerNuno Lopes <nunoplopes@sapo.pt>
Tue, 17 Jul 2012 23:51:33 +0000 (23:51 +0000)
Update the language reference to reflect that.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160408 91177308-0d34-0410-b5e6-96231b3b80d8

docs/LangRef.html

index 9793659..c32c98c 100644 (file)
@@ -2867,8 +2867,9 @@ i32 (i32) asm "bswap $0", "=r,r"
 </pre>
 
 <p>Inline assembler expressions may <b>only</b> be used as the callee operand of
-   a <a href="#i_call"><tt>call</tt> instruction</a>.  Thus, typically we
-   have:</p>
+   a <a href="#i_call"><tt>call</tt></a> or an
+   <a href="#i_invoke"><tt>invoke</tt></a> instruction.
+   Thus, typically we have:</p>
 
 <pre class="doc_code">
 %X = call i32 asm "<a href="#int_bswap">bswap</a> $0", "=r,r"(i32 %Y)