mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Emit function definitions in check, for all specifics seen. (#5090)
Emitting definitions in check. This resolves the crash in lowering which necessitated definitions be emitted. Some of the test changes need further review.
This commit is contained in:
@@ -361,10 +361,17 @@ fn M() {
|
||||
// CHECK:STDOUT: specific @H(constants.%i32) {
|
||||
// CHECK:STDOUT: %T.loc19_6.2 => constants.%i32
|
||||
// CHECK:STDOUT: %T.patt.loc19_6.2 => constants.%T.patt
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: !definition:
|
||||
// CHECK:STDOUT: %require_complete => constants.%complete_type.f8a
|
||||
// CHECK:STDOUT: %F.specific_fn.loc21_3.2 => constants.%F.specific_fn.501
|
||||
// CHECK:STDOUT: }
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: specific @Cfn(constants.%i32) {
|
||||
// CHECK:STDOUT: %T.loc12_22.1 => constants.%i32
|
||||
// CHECK:STDOUT: %T.patt.loc12_22.2 => constants.%T.patt
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: !definition:
|
||||
// CHECK:STDOUT: %require_complete => constants.%complete_type.f8a
|
||||
// CHECK:STDOUT: }
|
||||
// CHECK:STDOUT:
|
||||
|
||||
Reference in New Issue
Block a user