fix return code in interpreter's version of _jit_create_call_return_insns().
+2006-10-14 Aleksey Demakov <ademakov@gmail.com>
+
+ * jit/jit-rules-interp.c (_jit_create_call_return_insns): fix return
+ code in case of no return value or struct returned via pointer (this
+ is just like 2006-02-20 fix for x86).
+
+ * jit/jit-cfg.c (create_value_entry): an uninitialized value was
+ used (thanks Klaus for spotting).
+
2006-10-02 Klaus Treichel <ktreichel@web.de>
* jit/jit-intrinsic.c: Fix a copy bug in jit_ulong_mul (replace - by *).
}
else
{
- max_values += max_values / 2;
+ max_values = cfg->max_values * 2;
values = jit_realloc(cfg->values, max_values * sizeof(struct _jit_value_entry));
}
if(!values)
/* Bail out now if we don't need to worry about return values */
if(!return_value || ptr_return)
{
- return 0;
+ return 1;
}
/* Structure values must be flushed into the frame, and