Skip to content

Commit ef6a6cc

Browse files
committed
[Test] Annotated outliner test function.
It needs Osize to be processed by the outliner.
1 parent a7e5f28 commit ef6a6cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/SILOptimizer/outliner_ossa.sil

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ class Sub : Super {
292292

293293
// We used to assert here because of an over-strong expectation about the location
294294
// of destroy_value instructions.
295-
sil hidden [ossa] @destroy_after_borrow : $@convention(thin) () -> @owned Sub {
295+
sil [Osize] [ossa] @destroy_after_borrow : $@convention(thin) () -> @owned Sub {
296296
%104 = apply undef() : $@convention(objc_method) () -> @owned Super
297297
%107 = unchecked_ref_cast %104 : $Super to $Sub
298298
%158 = begin_borrow %107 : $Sub

0 commit comments

Comments
 (0)