• Create Account

### #ActualTzarls

Posted 14 November 2012 - 12:41 AM

Andreas, I need some help here.

In your pseudo code you check for floats and doubles, but never for ints or long longs, even though you declared an array for "r" registers + stack. Was that an error?

Then, in as_callfunc_arm.cpp you have:

#ifndef AS_ANDROID
if( sysFunc->takesObjByVal )
#endif

What does takesObjByVal tell us? Also, I have trouble deciding where to put the new algo in the existing implementation. Would it be something like this?

if (argType == float)
{....}
else if (argType == double)
{.....}
else
#ifndef AS_ANDROID
if( sysFunc->takesObjByVal )
#endif
{
#ifdef AS_ANDROID....


### #3Tzarls

Posted 14 November 2012 - 12:41 AM

Andreas, I need some help here.

In your pseudo code you check for floats and doubles, but never for ints or long longs, even though you declared an array for "r" registers + stack. Was that an error?

Then, in as_callfunc_arm.cpp you have:

#ifndef AS_ANDROID
if( sysFunc->takesObjByVal )
#endif

What does takesObjByVal tell us? Also, I have trouble deciding where to put the new algo in the existing implementation. Would it be something like this?

if (argType == float)
{....}
else if (argType == double)
{.....}
else
#ifndef AS_ANDROID
if( sysFunc->takesObjByVal )
#endif
{
#ifdef AS_ANDROID....


### #2Tzarls

Posted 14 November 2012 - 12:41 AM

Andreas, I need some help here.

In your pseudo code you check for floats and doubles, but never for ints or long longs, even though you declared an array for "r" registers + stack. Was that an error?

Then, in as_callfunc_arm.cpp you have:

#ifndef AS_ANDROID
if( sysFunc->takesObjByVal )
#endif

What does takesObjByVal tell us? Also, I have trouble deciding where to put the new algo in the existing implementation. Would it be something like this?

if (argType == float)
{....}
else if (argType == double)
{.....}
else
#ifndef AS_ANDROID
if( sysFunc->takesObjByVal )
#endif
{
#ifdef AS_ANDROID....


### #1Tzarls

Posted 14 November 2012 - 12:38 AM

Andreas, I need some help here.

In your pseudo code you check for floats and doubles, but never for ints or long longs, even though you declared an array for "r" registers + stack. Was that an error?

Then, in as_callfunc_arm.cpp you have:

#ifndef AS_ANDROID
if( sysFunc->takesObjByVal )
#endif

What does takesObjByVal tell us? Also, I have trouble deciding where to put the new algo in the existing implementation. Would it be something like this?

if (argType == float)
{....}
else if (argType == double)
{.....}
else
#ifndef AS_ANDROID
if( sysFunc->takesObjByVal )
#endif
{
#ifdef AS_ANDROID


PARTNERS