Permalink
Browse files

Merge branch 'ftbfs-sparc' of https://github.com/Debian/nqp

  • Loading branch information...
moritz committed May 4, 2013
2 parents 249b9cf + 5a319af commit 8d9d7be0dc198832e9cd1ee18cda1a6bd1582a24
Showing with 1 addition and 2 deletions.
  1. +1 −2 3rdparty/dyncall/dyncall/dyncall_callvm_sparc.c
@@ -32,8 +32,7 @@
/* the six output registers %o0-%o5 are always loaded, thus we need to ensure the argument buffer has space for at least 24 bytes. */
static DCCallVM* dc_callvm_new_sparc(DCCallVM_vt* vt, DCsize size)
{
size=DC_MAX(size,sizeof(void*)*(6+1));
DCCallVM_sparc* self = (DCCallVM_sparc*) dcAllocMem(sizeof(DCCallVM_sparc)+size);
DCCallVM_sparc* self = (DCCallVM_sparc*) dcAllocMem(sizeof(DCCallVM_sparc)+DC_MAX(size,sizeof(void*)*(6+1)));
dc_callvm_base_init(&self->mInterface, vt);
dcVecInit(&self->mVecHead,size);
return (DCCallVM*)self;

0 comments on commit 8d9d7be

Please sign in to comment.