Hi Charles,
Your implementation using switch has a name, it’s called trampoline
https://en.wikipedia.org/wiki/Trampoline_(computing).
This is what you have to do when backend does not support native goto, and it’s
generally the case when you write a compiler having a high level language as
Hi Yakov,
backtrace() from Glibc calls _Unwind_Backtrace from libgcc_s.so.1
on x86_64. Guess which compiler libgcc_s.so.1 is made for.
Best regards,
Daniel
___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
This really interests me as well. I still am working on my
tinycc-to-javascript environment, and to support "goto" was quite awkward
and required wrapping all code in functions inside "switch" statements. I
was hoping webassembly would accept the request to have a "goto" but as far
as I
First link looks especially interesting. thanks
My question is if tinycc could generate JVM code which any java engine can use.
IMHO setjmp/longjmp is probably not very easy to compile to a JVM equivalent.
C.
From: Tinycc-devel