- rename symbol TOP_OF_TRANSLATED_FUNCTION to BEGIN_TRANSLATED_FUNCTION

This commit is contained in:
Bryce Denney 2002-04-17 05:16:47 +00:00
parent 2d87c60a34
commit f33ab1728b

View File

@ -13,14 +13,15 @@ extern int array2[MAX][MAX];
//#define ST(n) (state->n)
#define ST(n) (n)
#define TOP_OF_TRANSLATED_FUNCTION() \
#define BEGIN_TRANSLATED_FUNCTION() \
int x=state->x, y=state->y, accum=state->accum; \
int *load_ptr=state->load_ptr, *store_ptr=state->store_ptr; \
int *load_ptr=state->load_ptr, *store_ptr=state->store_ptr;
#define BOTTOM_OF_TRANSLATED_FUNCTION() do { \
state->x=x; state->y=y; state->accum=accum; \
state->load_ptr=load_ptr; state->store_ptr=store_ptr; \
} while (0)
#define END_TRANSLATED_FUNCTION() \
do { \
state->x=x; state->y=y; state->accum=accum; \
state->load_ptr=load_ptr; state->store_ptr=store_ptr; \
} while (0)
#define DO_MOVE_REL(delta_x,delta_y) do { \