mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-04 21:21:04 +01:00
Refactor LazyImportRef into ImportRefUnused. (#3656)
This makes some changes to the formatter so that ImportRefUnused and ImportRefUsed will both be labeled as "import_ref" with an "unused -> used" argument change in textual IR, but is otherwise not changing logic.
This commit is contained in:
@@ -30,7 +30,7 @@ import library "a";
|
||||
// CHECK:STDOUT: --- b.carbon
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: file {
|
||||
// CHECK:STDOUT: package: <namespace> = namespace {.F = %lazy_import_ref} [template]
|
||||
// CHECK:STDOUT: %lazy_import_ref = lazy_import_ref ir1, inst+1
|
||||
// CHECK:STDOUT: package: <namespace> = namespace {.F = %import_ref} [template]
|
||||
// CHECK:STDOUT: %import_ref = import_ref ir1, inst+1, unused
|
||||
// CHECK:STDOUT: }
|
||||
// CHECK:STDOUT:
|
||||
|
||||
Reference in New Issue
Block a user