Skip to content

Commit

Permalink
Merge pull request #27 from kaneshin/fix-comment-typo-1
Browse files Browse the repository at this point in the history
Fix tiny typo
  • Loading branch information
tkremenek committed Dec 3, 2015
2 parents 1adf677 + f6550f8 commit b016c90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/SILPasses/sil_combine.sil
Original file line number Diff line number Diff line change
Expand Up @@ -2838,7 +2838,7 @@ sil @closure_with_in_guaranteed_owened_in_args : $@convention(method) (@in CC2,
// Test the peephole performing apply{partial_apply(x,y,z)}(a) -> apply(a,x,y,z)
// We need to check the following:
// - all arguments of a partial_apply, which are either results of a stack_alloc or consumed indirect arguments
// should be copied into temporaries. This should happen just before tha partial_apply instruction.
// should be copied into temporaries. This should happen just before that partial_apply instruction.
// - The temporaries are allocated at the beginning of the function and deallocated at the end.
// - Before each apply of the partial_apply, we retain values of any arguments which are of non-address type.
// This is required because they could be consumed (i.e. relased by the callee).
Expand Down

0 comments on commit b016c90

Please sign in to comment.