some more code clean-up
This commit is contained in:
parent
a61197d3f7
commit
36aba57e4b
4
lib/gc.c
4
lib/gc.c
@ -849,7 +849,7 @@ int hcl_ignite (hcl_t* hcl, hcl_oow_t heapsize)
|
|||||||
|
|
||||||
if (!hcl->code.dbgi)
|
if (!hcl->code.dbgi)
|
||||||
{
|
{
|
||||||
hcl->code.dbgi = (hcl_oow_t*)hcl_allocmem(hcl, HCL_SIZEOF(*hcl->code.dbgi) * HCL_BC_BUFFER_INIT);
|
hcl->code.dbgi = (hcl_dbgi_t*)hcl_allocmem(hcl, HCL_SIZEOF(*hcl->code.dbgi) * HCL_BC_BUFFER_INIT);
|
||||||
if (HCL_UNLIKELY(!hcl->code.dbgi))
|
if (HCL_UNLIKELY(!hcl->code.dbgi))
|
||||||
{
|
{
|
||||||
/* bc.ptr and dbgi go together. so free bc.ptr if dbgi allocation fails */
|
/* bc.ptr and dbgi go together. so free bc.ptr if dbgi allocation fails */
|
||||||
@ -874,8 +874,6 @@ int hcl_ignite (hcl_t* hcl, hcl_oow_t heapsize)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
int hcl_getsyncodebyoocs_noseterr (hcl_t* hcl, const hcl_oocs_t* name)
|
int hcl_getsyncodebyoocs_noseterr (hcl_t* hcl, const hcl_oocs_t* name)
|
||||||
{
|
{
|
||||||
hcl_oow_t i;
|
hcl_oow_t i;
|
||||||
|
Loading…
Reference in New Issue
Block a user