src/dna/ByteCode_Execute.c
static void CreateParameters(PTR pParamsLocals, tMD_MethodDef *pCallMethod, PTR *ppCurEvalStack, HEAP_PTR newObj) {
	U32 ofs;

	if (newObj != NULL) {
		// If this is being called from JIT_NEW_OBJECT then need to specially push the new object
		// onto parameter stack position 0
		*(HEAP_PTR*)pParamsLocals = newObj;
		ofs = 4;
	}
	else {
		ofs = 0;
	}
	*ppCurEvalStack -= pCallMethod->parameterStackSize - ofs;
	memcpy(pParamsLocals + ofs, *ppCurEvalStack, pCallMethod->parameterStackSize - ofs);
}
// Note: newObj is only set if a constructor is being called

newObj is only set if a constructor is being called
newObj is only set if a constructor is being called
static void CreateParameters(PTR pParamsLocals, tMD_MethodDef *pCallMethod, PTR *ppCurEvalStack, HEAP_PTR newObj) {
	U32 ofs;
	if (newObj != NULL) {
		*(HEAP_PTR*)pParamsLocals = newObj;
		ofs = 4;
	}
	else {
		ofs = 0;
	}
	*ppCurEvalStack -= pCallMethod->parameterStackSize - ofs;
	memcpy(pParamsLocals + ofs, *ppCurEvalStack, pCallMethod->parameterStackSize - ofs);
}
static void CreateParameters ( PTR pParamsLocals , tMD_MethodDef * pCallMethod , PTR * ppCurEvalStack , HEAP_PTR newObj ) { U32 ofs ; if ( newObj != NULL ) { * ( HEAP_PTR * ) pParamsLocals = newObj ; ofs = 4 ; } else { ofs = 0 ; } * ppCurEvalStack -= pCallMethod -> parameterStackSize - ofs ; memcpy ( pParamsLocals + ofs , * ppCurEvalStack , pCallMethod -> parameterStackSize - ofs ) ; }
Note: newObj is only set if a constructor is being called
Note : newObj is only set if a constructor is being called
// If this is being called from JIT_NEW_OBJECT then need to specially push the new object
 // onto parameter stack position 0
