[INTERPRETER]

* BUG: Arguments passed by reference do not crash randomly anymore.


git-svn-id: svn://localhost/gambas/trunk@1964 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2009-05-18 12:00:48 +00:00
parent 079fefad56
commit a282449a85
3 changed files with 4 additions and 4 deletions

View file

@ -560,7 +560,7 @@ void EXEC_enter_quick(void)
CLASS *class = EXEC.class;
#if DEBUG_STACK
printf("\n| >> EXEC_enter(%s, %ld, %d)\n", EXEC.class->name, EXEC.index, EXEC.nparam);
printf("\n| >> EXEC_enter_quick(%s, %ld, %d)\n", EXEC.class->name, EXEC.index, EXEC.nparam);
print_register();
#endif
@ -590,7 +590,7 @@ void EXEC_enter_quick(void)
EC = NULL;
/* reference the object so that it is not destroyed during the function call */
OBJECT_REF(OP, "EXEC_enter");
OBJECT_REF(OP, "EXEC_enter_quick");
/* local variables initialization */

View file

@ -1653,7 +1653,7 @@ _BYREF:
if (PC == FP->code)
{
PC += GET_XX();
goto _NEXT;
goto _NEXT2;
}
THROW(E_BYREF);

View file

@ -27,7 +27,7 @@
#include "gbx_value.h"
#include "gb_pcode.h"
#include "gbx_debug.h"
typedef
struct _stack_context {