From 0f0c06a5c2ebe8c24414b50bf7a6a23142694521 Mon Sep 17 00:00:00 2001 From: Gustavo Niemeyer Date: Sat, 18 Oct 2003 20:54:44 +0000 Subject: Removing dead code. --- Modules/_sre.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/Modules/_sre.c b/Modules/_sre.c index b27c33a..74e3dbf 100644 --- a/Modules/_sre.c +++ b/Modules/_sre.c @@ -719,13 +719,6 @@ do { \ state->data_stack_base += sizeof(type); \ } while (0) -#define DATA_STACK_LOOKUP(state, type, ptr) \ -do { \ - TRACE(("looking up %s in %d (%d)\n", SFY(type), \ - state->data_stack_base-sizeof(type), sizeof(type))); \ - ptr = (type*)(state->data_stack+state->data_stack_base-sizeof(type)); \ -} while (0) - #define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \ do { \ TRACE(("looking up %s at %d\n", SFY(type), pos)); \ @@ -766,14 +759,10 @@ do { \ DATA_STACK_PUSH(state, (x), sizeof(*(x))) #define DATA_POP(x) \ DATA_STACK_POP(state, (x), sizeof(*(x)), 1) -#define DATA_POP_KEEP(x) \ - DATA_STACK_POP(state, (x), sizeof(*(x)), 0) #define DATA_POP_DISCARD(x) \ DATA_STACK_POP_DISCARD(state, sizeof(*(x))) #define DATA_ALLOC(t,p) \ DATA_STACK_ALLOC(state, t, p) -#define DATA_LOOKUP(t,p) \ - DATA_STACK_LOOKUP(state, t, p) #define DATA_LOOKUP_AT(t,p,pos) \ DATA_STACK_LOOKUP_AT(state,t,p,pos) -- cgit v0.12