enclosed a dyncall related line inside USE_DYNCALL

This commit is contained in:
hyunghwan.chung 2017-01-16 14:46:07 +00:00
parent bc83b95acb
commit 4a4d40dea1

View File

@ -132,7 +132,10 @@ static moo_pfrc_t pf_open (moo_t* moo, moo_ooi_t nargs)
#endif #endif
rcv->handle = handle; rcv->handle = handle;
#if defined(USE_DYNCALL)
rcv->dc = dc; rcv->dc = dc;
#endif
MOO_DEBUG3 (moo, "<ffi.open> %.*js => %p\n", MOO_OBJ_GET_SIZE(name), ((moo_oop_char_t)name)->slot, rcv->handle); MOO_DEBUG3 (moo, "<ffi.open> %.*js => %p\n", MOO_OBJ_GET_SIZE(name), ((moo_oop_char_t)name)->slot, rcv->handle);
MOO_STACK_SETRETTORCV (moo, nargs); MOO_STACK_SETRETTORCV (moo, nargs);