|
|
|
|
|
by kragen
4815 days ago
|
|
The JVM also doesn't (I'm fairly sure) have an indirect JMP instruction, which means you can't compile a polymorphic source-language method call into a JMP inside of a single generated method. Instead you have to use a call to a method. That means that tail-calls to functions passed as parameters (rather than functions that can be statically bound at compile time) can't use JMP. |
|
If you want a runtime with proper tail calls, use a implementation which supports it.