Skip to content

Commit 4bb51a2

Browse files
authored
Merge pull request #66986 from felipepiovezan/felipe/integer_widths
[DebugInfo] Fix hardcoded integer width in test
2 parents 12ebe0a + e8fdd2a commit 4bb51a2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/DebugInfo/inlined-generics-basic.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ public class C<R> {
7575
g((r, s))
7676
// Note to maintainers: the relative order of the constant dbg.values here
7777
// seem to flip back and forth.
78-
// IR: dbg.value(metadata i64 0, metadata ![[GI_U:[0-9]+]]
79-
// IR: dbg.value(metadata i64 0, metadata ![[GI_T:[0-9]+]]
80-
// IR: call {{.*}}3use{{.*}}(i64 0)
78+
// IR: dbg.value(metadata i{{.*}} 0, metadata ![[GI_U:[0-9]+]]
79+
// IR: dbg.value(metadata i{{.*}} 0, metadata ![[GI_T:[0-9]+]]
80+
// IR: call {{.*}}3use{{.*}}(i{{.*}} 0)
8181
#sourceLocation(file: "f.swift", line: 5)
8282
g(Int(0))
8383
// IR: dbg.value(metadata i1 false, metadata ![[GB_U:[0-9]+]]

0 commit comments

Comments
 (0)