Skip to content

Commit d8ee96c

Browse files
authored
[WebAssembly] Add indentations to annotations.s (#108790)
Given that the instructions here are all control flow instructions, adding indentations seem to make it easier to read.
1 parent 000a3f0 commit d8ee96c

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

llvm/test/MC/WebAssembly/annotations.s

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -10,28 +10,28 @@ test_annotation:
1010
.functype test_annotation () -> ()
1111
.tagtype __cpp_exception i32
1212
try
13-
br 0
13+
br 0
1414
catch __cpp_exception
15-
block
16-
br_if 0
17-
loop
18-
br_if 1
19-
end_loop
20-
end_block
21-
try
22-
rethrow 0
23-
catch __cpp_exception
24-
catch_all
25-
block
26-
try
27-
br 0
28-
try
29-
delegate 1
30-
catch_all
31-
end_try
32-
end_block
33-
rethrow 0
34-
end_try
15+
block
16+
br_if 0
17+
loop
18+
br_if 1
19+
end_loop
20+
end_block
21+
try
22+
rethrow 0
23+
catch __cpp_exception
24+
catch_all
25+
block
26+
try
27+
br 0
28+
try
29+
delegate 1
30+
catch_all
31+
end_try
32+
end_block
33+
rethrow 0
34+
end_try
3535
end_try
3636
end_function
3737

0 commit comments

Comments
 (0)