[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[dotgnu-pnet-commits] pnet ChangeLog engine/jitc_delegate.c
From: |
Klaus Treichel |
Subject: |
[dotgnu-pnet-commits] pnet ChangeLog engine/jitc_delegate.c |
Date: |
Thu, 06 Jul 2006 18:09:26 +0000 |
CVSROOT: /sources/dotgnu-pnet
Module name: pnet
Changes by: Klaus Treichel <ktreichel> 06/07/06 18:09:26
Modified files:
. : ChangeLog
engine : jitc_delegate.c
Log message:
2006-07-06 Klaus Treichel <address@hidden>
* engine/jitc_delegate.c: Fix a build error if the engine is
built without
the ILExecThread in the method signature. Optimize packing of
the delegate
args for async. execution.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pnet/ChangeLog?cvsroot=dotgnu-pnet&r1=1.3335&r2=1.3336
http://cvs.savannah.gnu.org/viewcvs/pnet/engine/jitc_delegate.c?cvsroot=dotgnu-pnet&r1=1.4&r2=1.5
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/dotgnu-pnet/pnet/ChangeLog,v
retrieving revision 1.3335
retrieving revision 1.3336
diff -u -b -r1.3335 -r1.3336
--- ChangeLog 3 Jul 2006 16:18:56 -0000 1.3335
+++ ChangeLog 6 Jul 2006 18:09:26 -0000 1.3336
@@ -1,3 +1,9 @@
+2006-07-06 Klaus Treichel <address@hidden>
+
+ * engine/jitc_delegate.c: Fix a build error if the engine is built
without
+ the ILExecThread in the method signature. Optimize packing of the
delegate
+ args for async. execution.
+
2006-07-03 Aleksey Demakov <address@hidden>
* engine/jitc.c (_ILJitTypeToStackType): remove the conversion of
Index: engine/jitc_delegate.c
===================================================================
RCS file: /sources/dotgnu-pnet/pnet/engine/jitc_delegate.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- engine/jitc_delegate.c 4 Jun 2006 15:56:51 -0000 1.4
+++ engine/jitc_delegate.c 6 Jul 2006 18:09:26 -0000 1.5
@@ -97,7 +97,7 @@
return 0;
}
- arrayBase = jit_insn_add(jitFunction, array, arrayBaseOffset);
+ arrayBase = jit_insn_add_relative(jitFunction, array,
sizeof(System_Array));
/* Convert the arguments into objects in the array */
for(param = 0; param < numArgs; ++param)
@@ -137,7 +137,10 @@
boxValue = jit_insn_load_relative(jitFunction,
invokeArgs[param],
0, _IL_JIT_TYPE_VPTR);
- jit_insn_store_relative(jitFunction, arrayBase,
0, boxValue);
+ jit_insn_store_relative(jitFunction,
+
arrayBase,
+
param * sizeof(ILObject *),
+
boxValue);
boxValue = 0;
}
else
@@ -175,7 +178,9 @@
else if(ILTypeIsReference(paramType))
{
/* Object reference type: pass it directly */
- jit_insn_store_relative(jitFunction, arrayBase,
0,
+ jit_insn_store_relative(jitFunction,
+
arrayBase,
+
param * sizeof(ILObject *),
invokeArgs[param]);
}
else
@@ -209,10 +214,11 @@
{
jit_insn_memcpy(jitFunction, boxObject, ptr,
boxObjectSize);
}
- jit_insn_store_relative(jitFunction, arrayBase, 0,
boxObject);
-
+ jit_insn_store_relative(jitFunction,
+
arrayBase,
+ param *
sizeof(ILObject *),
+
boxObject);
}
- arrayBase = jit_insn_add(jitFunction, arrayBase, ptrSize);
}
return array;
@@ -665,8 +671,8 @@
ILJitValue returnObject; /* returnvalue of the call to
IAsyncResult.EndInvoke. */
ILJitFunction jitEndInvoke;
-#ifdef IL_JIT_THREAD_IN_SIGNATURE
ILJitValue thread = _ILJitFunctionGetThread(func);
+#ifdef IL_JIT_THREAD_IN_SIGNATURE
ILUInt32 numOutParams = numEndInvokeParams - 3;
ILJitValue endInvokeArgs[3];
#else
- [dotgnu-pnet-commits] pnet ChangeLog engine/jitc_delegate.c,
Klaus Treichel <=