notaz.gp2x.de
/
ia32rtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
translate: handle more noreturn cases
[ia32rtools.git]
/
tests
/
reg_call_tail2.expect.c
diff --git a/tests/reg_call_tail2.expect.c
b/tests/reg_call_tail2.expect.c
new file mode 100644
(file)
index 0000000..
387f2e3
--- /dev/null
+++ b/
tests/reg_call_tail2.expect.c
@@ -0,0
+1,12
@@
+void __stdcall sub_test(int a1)
+{
+ a1 += 1; // arg_0
+ if ((u32)a1 == 0)
+ goto return_; // arg_0
+ another_func(a1);
+ return; // ^ tailcall argframe
+
+return_:
+ return;
+}
+