diff options
| author | Bill Wendling <isanbard@gmail.com> | 2011-07-27 20:18:04 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2011-07-27 20:18:04 +0000 |
| commit | 6c923bb8d9bb0cb7067cb8c7b001ccd19bcfd8ac (patch) | |
| tree | b8b9205a5878072365529a009c886d6333783455 /llvm/docs | |
| parent | 833b9d335380864b62820bcc8c260ba278225dcd (diff) | |
| download | bcm5719-llvm-6c923bb8d9bb0cb7067cb8c7b001ccd19bcfd8ac.tar.gz bcm5719-llvm-6c923bb8d9bb0cb7067cb8c7b001ccd19bcfd8ac.zip | |
Merge the contents from exception-handling-rewrite to the mainline.
This adds the new instructions 'landingpad' and 'resume'.
llvm-svn: 136253
Diffstat (limited to 'llvm/docs')
| -rw-r--r-- | llvm/docs/LangRef.html | 35 |
1 files changed, 33 insertions, 2 deletions
diff --git a/llvm/docs/LangRef.html b/llvm/docs/LangRef.html index ab98d3d8359..40affb7e917 100644 --- a/llvm/docs/LangRef.html +++ b/llvm/docs/LangRef.html @@ -123,6 +123,7 @@ <li><a href="#i_indirectbr">'<tt>indirectbr</tt>' Instruction</a></li> <li><a href="#i_invoke">'<tt>invoke</tt>' Instruction</a></li> <li><a href="#i_unwind">'<tt>unwind</tt>' Instruction</a></li> + <li><a href="#i_resume">'<tt>resume</tt>' Instruction</a></li> <li><a href="#i_unreachable">'<tt>unreachable</tt>' Instruction</a></li> </ol> </li> @@ -2942,13 +2943,14 @@ should not be exposed to source languages.</p> control flow, not values (the one exception being the '<a href="#i_invoke"><tt>invoke</tt></a>' instruction).</p> -<p>There are seven different terminator instructions: the +<p>There are eight different terminator instructions: the '<a href="#i_ret"><tt>ret</tt></a>' instruction, the '<a href="#i_br"><tt>br</tt></a>' instruction, the '<a href="#i_switch"><tt>switch</tt></a>' instruction, the '<a href="#i_indirectbr">'<tt>indirectbr</tt></a>' Instruction, the '<a href="#i_invoke"><tt>invoke</tt></a>' instruction, the - '<a href="#i_unwind"><tt>unwind</tt></a>' instruction, and the + '<a href="#i_unwind"><tt>unwind</tt></a>' instruction, the + '<a href="#i_resume"><tt>resume</tt></a>' instruction, and the '<a href="#i_unreachable"><tt>unreachable</tt></a>' instruction.</p> <!-- _______________________________________________________________________ --> @@ -3272,6 +3274,35 @@ that the invoke/unwind semantics are likely to change in future versions.</p> <!-- _______________________________________________________________________ --> <h4> + <a name="i_resume">'<tt>resume</tt>' Instruction</a> +</h4> + +<div> + +<h5>Syntax:</h5> +<pre> + resume <type> <value> +</pre> + +<h5>Overview:</h5> +<p>The '<tt>resume</tt>' instruction is a terminator instruction that has no + successors. Its operand must have the same type as the result of any + '<tt>landingpad</tt>' instruction in the same function.</p> + +<h5>Semantics:</h5> +<p>The '<tt>resume</tt>' instruction resumes propagation of an existing + (in-flight) exception.</p> + +<h5>Example:</h5> +<pre> + resume { i8*, i32 } %exn +</pre> + +</div> + +<!-- _______________________________________________________________________ --> + +<h4> <a name="i_unreachable">'<tt>unreachable</tt>' Instruction</a> </h4> |

