mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Fix the textual IR name of WrapperBindingPattern (#7650)
`at_binding_pattern` is a relic from an earlier revision of #6930.
This commit is contained in:
@@ -42,7 +42,7 @@ fn Call(p: Derived*) {
|
||||
// CHECK:STDOUT: %Base.elem: type = unbound_element_type %Base, %i32 [concrete]
|
||||
// CHECK:STDOUT: %pattern_type.912: type = pattern_type %Base [concrete]
|
||||
// CHECK:STDOUT: %self.param_patt.21c: %pattern_type.912 = ref_param_pattern [concrete]
|
||||
// CHECK:STDOUT: %self.patt.a45: %pattern_type.912 = at_binding_pattern self, %self.param_patt.21c [concrete]
|
||||
// CHECK:STDOUT: %self.patt.26b: %pattern_type.912 = wrapper_binding_pattern self, %self.param_patt.21c [concrete]
|
||||
// CHECK:STDOUT: %Base.F.type: type = fn_type @Base.F [concrete]
|
||||
// CHECK:STDOUT: %Base.F: %Base.F.type = struct_value () [concrete]
|
||||
// CHECK:STDOUT: %struct_type.a: type = struct_type {.a: %i32} [concrete]
|
||||
@@ -71,7 +71,7 @@ fn Call(p: Derived*) {
|
||||
// CHECK:STDOUT: %ptr.64c: type = ptr_type %Derived [concrete]
|
||||
// CHECK:STDOUT: %pattern_type.56c: type = pattern_type %ptr.64c [concrete]
|
||||
// CHECK:STDOUT: %p.param_patt: %pattern_type.56c = value_param_pattern [concrete]
|
||||
// CHECK:STDOUT: %p.patt: %pattern_type.56c = at_binding_pattern p, %p.param_patt [concrete]
|
||||
// CHECK:STDOUT: %p.patt: %pattern_type.56c = wrapper_binding_pattern p, %p.param_patt [concrete]
|
||||
// CHECK:STDOUT: %Call.type: type = fn_type @Call [concrete]
|
||||
// CHECK:STDOUT: %Call: %Call.type = struct_value () [concrete]
|
||||
// CHECK:STDOUT: }
|
||||
@@ -100,7 +100,7 @@ fn Call(p: Derived*) {
|
||||
// CHECK:STDOUT: %Base.decl: type = class_decl @Base [concrete = constants.%Base] {} {}
|
||||
// CHECK:STDOUT: %Base.F.decl: %Base.F.type = fn_decl @Base.F [concrete = constants.%Base.F] {
|
||||
// CHECK:STDOUT: %self.param_patt: %pattern_type.912 = ref_param_pattern [concrete = constants.%self.param_patt.21c]
|
||||
// CHECK:STDOUT: %self.patt: %pattern_type.912 = at_binding_pattern self, %self.param_patt [concrete = constants.%self.patt.a45]
|
||||
// CHECK:STDOUT: %self.patt: %pattern_type.912 = wrapper_binding_pattern self, %self.param_patt [concrete = constants.%self.patt.26b]
|
||||
// CHECK:STDOUT: } {
|
||||
// CHECK:STDOUT: %self.param.loc21: ref %Base = ref_param call_param0
|
||||
// CHECK:STDOUT: %Self.ref.loc21: type = name_ref Self, constants.%Base [concrete = constants.%Base]
|
||||
@@ -109,7 +109,7 @@ fn Call(p: Derived*) {
|
||||
// CHECK:STDOUT: %Derived.decl: type = class_decl @Derived [concrete = constants.%Derived] {} {}
|
||||
// CHECK:STDOUT: %Call.decl: %Call.type = fn_decl @Call [concrete = constants.%Call] {
|
||||
// CHECK:STDOUT: %p.param_patt: %pattern_type.56c = value_param_pattern [concrete = constants.%p.param_patt]
|
||||
// CHECK:STDOUT: %p.patt: %pattern_type.56c = at_binding_pattern p, %p.param_patt [concrete = constants.%p.patt]
|
||||
// CHECK:STDOUT: %p.patt: %pattern_type.56c = wrapper_binding_pattern p, %p.param_patt [concrete = constants.%p.patt]
|
||||
// CHECK:STDOUT: } {
|
||||
// CHECK:STDOUT: %p.param: %ptr.64c = value_param call_param0
|
||||
// CHECK:STDOUT: %.loc29: type = splice_block %ptr [concrete = constants.%ptr.64c] {
|
||||
@@ -124,7 +124,7 @@ fn Call(p: Derived*) {
|
||||
// CHECK:STDOUT: %.loc16: %Base.elem = field_decl a, element0 [concrete]
|
||||
// CHECK:STDOUT: %Base.F.decl: %Base.F.type = fn_decl @Base.F [concrete = constants.%Base.F] {
|
||||
// CHECK:STDOUT: %self.param_patt: %pattern_type.912 = ref_param_pattern [concrete = constants.%self.param_patt.21c]
|
||||
// CHECK:STDOUT: %self.patt: %pattern_type.912 = at_binding_pattern self, %self.param_patt [concrete = constants.%self.patt.a45]
|
||||
// CHECK:STDOUT: %self.patt: %pattern_type.912 = wrapper_binding_pattern self, %self.param_patt [concrete = constants.%self.patt.26b]
|
||||
// CHECK:STDOUT: } {
|
||||
// CHECK:STDOUT: %self.param.loc18: ref %Base = ref_param call_param0
|
||||
// CHECK:STDOUT: %Self.ref.loc18: type = name_ref Self, constants.%Base [concrete = constants.%Base]
|
||||
|
||||
Reference in New Issue
Block a user