|
626 | 626 | return %5 : $String
|
627 | 627 | }
|
628 | 628 |
|
629 |
| -// static String.+= infix(_:_:) |
| 629 | +// String.append(_:_:) |
630 | 630 | // The semantics attribute is used by the interpreter.
|
631 |
| -sil [serialized] [_semantics "string.append"] @$sSS2peoiyySSz_SStFZ : $@convention(method) (@inout String, @guaranteed String, @thin String.Type) -> () |
| 631 | +sil [serialized] [_semantics "string.append"] @$sSS6appendyySSF : $@convention(method) (@guaranteed String, @inout String) -> () |
632 | 632 |
|
633 | 633 | // CHECK-LABEL: @interpretStringAppend
|
634 | 634 | sil @interpretStringAppend: $@convention(thin) () -> @owned String {
|
|
649 | 649 | %13 = function_ref @$sSS21_builtinStringLiteral17utf8CodeUnitCount7isASCIISSBp_BwBi1_tcfC : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String
|
650 | 650 | %14 = apply %13(%9, %10, %11, %12) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String
|
651 | 651 | %15 = begin_access [modify] [static] %0 : $*String
|
652 |
| - // function_ref static String.+= infix(_:_:) |
653 |
| - %16 = function_ref @$sSS2peoiyySSz_SStFZ : $@convention(method) (@inout String, @guaranteed String, @thin String.Type) -> () |
654 |
| - %17 = apply %16(%15, %14, %8) : $@convention(method) (@inout String, @guaranteed String, @thin String.Type) -> () |
| 652 | + // function_ref static String.append (_:_:) |
| 653 | + %16 = function_ref @$sSS6appendyySSF : $@convention(method) (@guaranteed String, @inout String) -> () |
| 654 | + %17 = apply %16(%14, %15) : $@convention(method) (@guaranteed String, @inout String) -> () |
655 | 655 | end_access %15 : $*String
|
656 | 656 | release_value %14 : $String
|
657 | 657 | %20 = begin_access [read] [static] %0 : $*String
|
|
683 | 683 | %14 = apply %13(%9, %10, %11, %12) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String
|
684 | 684 | %15 = begin_access [modify] [static] %0 : $*String
|
685 | 685 | // function_ref static String.+= infix(_:_:)
|
686 |
| - %16 = function_ref @$sSS2peoiyySSz_SStFZ : $@convention(method) (@inout String, @guaranteed String, @thin String.Type) -> () |
687 |
| - %17 = apply %16(%15, %14, %8) : $@convention(method) (@inout String, @guaranteed String, @thin String.Type) -> () |
| 686 | + %16 = function_ref @$sSS6appendyySSF : $@convention(method) (@guaranteed String, @inout String) -> () |
| 687 | + %17 = apply %16(%14, %15) : $@convention(method) (@guaranteed String, @inout String) -> () |
688 | 688 | end_access %15 : $*String
|
689 | 689 | release_value %14 : $String
|
690 | 690 | %20 = begin_access [read] [static] %0 : $*String
|
|
836 | 836 | %40 = function_ref @$sSS21_builtinStringLiteral17utf8CodeUnitCount7isASCIISSBp_BwBi1_tcfC : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String
|
837 | 837 | %41 = apply %40(%36, %37, %38, %39) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String
|
838 | 838 | %42 = begin_access [modify] [static] %10 : $*String
|
839 |
| - %43 = function_ref @$sSS2peoiyySSz_SStFZ : $@convention(method) (@inout String, @guaranteed String, @thin String.Type) -> () |
840 |
| - %44 = apply %43(%42, %41, %35) : $@convention(method) (@inout String, @guaranteed String, @thin String.Type) -> () |
| 839 | + %43 = function_ref @$sSS6appendyySSF : $@convention(method) (@guaranteed String, @inout String) -> () |
| 840 | + %44 = apply %43(%41, %42) : $@convention(method) (@guaranteed String, @inout String) -> () |
841 | 841 | end_access %42 : $*String
|
842 | 842 | release_value %41 : $String
|
843 | 843 | br bb6
|
|
857 | 857 | %55 = function_ref @$sSS21_builtinStringLiteral17utf8CodeUnitCount7isASCIISSBp_BwBi1_tcfC : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String
|
858 | 858 | %56 = apply %55(%51, %52, %53, %54) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String
|
859 | 859 | %57 = begin_access [modify] [static] %10 : $*String
|
860 |
| - %58 = function_ref @$sSS2peoiyySSz_SStFZ : $@convention(method) (@inout String, @guaranteed String, @thin String.Type) -> () |
861 |
| - %59 = apply %58(%57, %56, %50) : $@convention(method) (@inout String, @guaranteed String, @thin String.Type) -> () |
| 860 | + %58 = function_ref @$sSS6appendyySSF : $@convention(method) (@guaranteed String, @inout String) -> () |
| 861 | + %59 = apply %58(%56, %57) : $@convention(method) (@guaranteed String, @inout String) -> () |
862 | 862 | end_access %57 : $*String
|
863 | 863 | release_value %56 : $String
|
864 | 864 | br bb13
|
|
872 | 872 | %68 = function_ref @$sSS21_builtinStringLiteral17utf8CodeUnitCount7isASCIISSBp_BwBi1_tcfC : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String
|
873 | 873 | %69 = apply %68(%64, %65, %66, %67) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String
|
874 | 874 | %70 = begin_access [modify] [static] %10 : $*String
|
875 |
| - %71 = function_ref @$sSS2peoiyySSz_SStFZ : $@convention(method) (@inout String, @guaranteed String, @thin String.Type) -> () |
876 |
| - %72 = apply %71(%70, %69, %63) : $@convention(method) (@inout String, @guaranteed String, @thin String.Type) -> () |
| 875 | + %71 = function_ref @$sSS6appendyySSF : $@convention(method) (@guaranteed String, @inout String) -> () |
| 876 | + %72 = apply %71(%69, %70) : $@convention(method) (@guaranteed String, @inout String) -> () |
877 | 877 | end_access %70 : $*String
|
878 | 878 | release_value %69 : $String
|
879 | 879 | br bb13
|
@@ -903,8 +903,8 @@ bb11:
|
903 | 903 |
|
904 | 904 | bb12(%93 : $String):
|
905 | 905 | %94 = begin_access [modify] [static] %10 : $*String
|
906 |
| - %95 = function_ref @$sSS2peoiyySSz_SStFZ : $@convention(method) (@inout String, @guaranteed String, @thin String.Type) -> () |
907 |
| - %96 = apply %95(%94, %93, %76) : $@convention(method) (@inout String, @guaranteed String, @thin String.Type) -> () |
| 906 | + %95 = function_ref @$sSS6appendyySSF : $@convention(method) (@guaranteed String, @inout String) -> () |
| 907 | + %96 = apply %95(%93, %94) : $@convention(method) (@guaranteed String, @inout String) -> () |
908 | 908 | end_access %94 : $*String
|
909 | 909 | release_value %93 : $String
|
910 | 910 | br bb13
|
|
0 commit comments