Merge: Generalize instance creation service so FFI can use it
authorJean Privat <jean@pryen.org>
Fri, 6 Feb 2015 01:14:55 +0000 (08:14 +0700)
committerJean Privat <jean@pryen.org>
Fri, 6 Feb 2015 01:14:55 +0000 (08:14 +0700)
Move up instance creation from ANew to AbstractCompilerVisitor so they can be used from the FFI implementation. Allows to call extern constructors of extern classes from extern code, and fix #1145.

Pull-Request: #1150
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Reviewed-by: Jean Privat <jean@pryen.org>

1  2 
src/compiler/abstract_compiler.nit

Simple merge