[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnet/engine verify_call.c,1.28,1.29
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnet/engine verify_call.c,1.28,1.29 |
Date: |
Fri, 22 Nov 2002 18:03:28 -0500 |
Update of /cvsroot/dotgnu-pnet/pnet/engine
In directory subversions:/tmp/cvs-serv4749/engine
Modified Files:
verify_call.c
Log Message:
Fix the verification of tail calls to use the correct length of the
"call" instruction.
Index: verify_call.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/verify_call.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -r1.28 -r1.29
*** verify_call.c 15 Nov 2002 01:37:42 -0000 1.28
--- verify_call.c 22 Nov 2002 23:03:26 -0000 1.29
***************
*** 1456,1463 ****
/* Confirm that the .tail precedes a call */
! if (( pc[2] == IL_OP_CALL ||
! pc[2] == IL_OP_CALLI ||
! pc[2] == IL_OP_CALLVIRT
! ) && pc[3 + sizeof(void *)] == IL_OP_RET)
{
/* Initialization */
--- 1456,1461 ----
/* Confirm that the .tail precedes a call */
! if ((pc[2] == IL_OP_CALL || pc[2] == IL_OP_CALLI ||
! pc[2] == IL_OP_CALLVIRT) && pc[7] == IL_OP_RET)
{
/* Initialization */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet/engine verify_call.c,1.28,1.29,
Rhys Weatherley <address@hidden> <=