@ -145,7 +145,9 @@ duk_regconst_t duk__ivalue_toregconst_raw(duk_compiler_ctx *comp_ctx,
duk_reg_t forced_reg ,
duk_small_uint_t flags ) ;
DUK_LOCAL_DECL duk_reg_t duk__ivalue_toreg ( duk_compiler_ctx * comp_ctx , duk_ivalue * x ) ;
#if 0 /* unused */
DUK_LOCAL_DECL duk_reg_t duk__ivalue_totemp ( duk_compiler_ctx * comp_ctx , duk_ivalue * x ) ;
# endif
DUK_LOCAL_DECL void duk__ivalue_toforcedreg ( duk_compiler_ctx * comp_ctx , duk_ivalue * x , duk_int_t forced_reg ) ;
DUK_LOCAL_DECL duk_regconst_t duk__ivalue_toregconst ( duk_compiler_ctx * comp_ctx , duk_ivalue * x ) ;
DUK_LOCAL_DECL duk_regconst_t duk__ivalue_totempconst ( duk_compiler_ctx * comp_ctx , duk_ivalue * x ) ;
@ -2401,9 +2403,11 @@ DUK_LOCAL duk_reg_t duk__ivalue_toreg(duk_compiler_ctx *comp_ctx, duk_ivalue *x)
return duk__ivalue_toregconst_raw ( comp_ctx , x , - 1 , 0 /*flags*/ ) ;
}
#if 0 /* unused */
DUK_LOCAL duk_reg_t duk__ivalue_totemp ( duk_compiler_ctx * comp_ctx , duk_ivalue * x ) {
return duk__ivalue_toregconst_raw ( comp_ctx , x , - 1 , DUK__IVAL_FLAG_REQUIRE_TEMP /*flags*/ ) ;
}
# endif
DUK_LOCAL void duk__ivalue_toforcedreg ( duk_compiler_ctx * comp_ctx , duk_ivalue * x , duk_int_t forced_reg ) {
DUK_ASSERT ( forced_reg > = 0 ) ;