trifork / erjang

A JVM-based Erlang VM
http://www.erjang.org
Apache License 2.0
726 stars 62 forks source link

apply insn only supports up to 8 args #2

Closed krestenkrab closed 14 years ago

krestenkrab commented 14 years ago

Codegen needs to call ERT.resolve, and cast the result to EFunX, and call directly.

This needs to be fixed in CompilerVisitor where there is a usage of BeamOpcode.apply.

krestenkrab commented 14 years ago

Fixed, see http://github.com/krestenkrab/erjang/commit/2ddfb89d2ce2660107a71e09c82ccf13b2aed7a4