Commit 861882cb authored by Kunshan Wang's avatar Kunshan Wang

DestClause is intra-function only.

Now I explicitly stated that the destination clause is used only for
designating intra-function destinations, that is, cannot have basic
blocks in other function versions as destinations. This does not change
the semantics, but just make it explicit.
parent 29d26bf5
...@@ -201,8 +201,11 @@ argList ...@@ -201,8 +201,11 @@ argList
*list of SSA variable*: Arguments to the destination basic block *list of SSA variable*: Arguments to the destination basic block
The destination clause designates a basic block as the destination of branching, The destination clause designates a basic block as the destination of branching,
either normal or exceptional. It takes many arguments, which will be received either normal or exceptional. The destination must be in the same function
by the normal parameters of ``dest``. The arguments must match the number and version as the instruction that includes the destination clause.
A destination clause takes many arguments, which will be received by the normal
parameters of the ``dest`` basic block. The arguments must match the number and
the types of the normal parameters. The exceptional parameter does not need to the types of the normal parameters. The exceptional parameter does not need to
be explicitly passed to. be explicitly passed to.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment