diff options
author | Gustavo Niemeyer <gustavo@niemeyer.net> | 2003-10-18 20:54:44 (GMT) |
---|---|---|
committer | Gustavo Niemeyer <gustavo@niemeyer.net> | 2003-10-18 20:54:44 (GMT) |
commit | 0f0c06a5c2ebe8c24414b50bf7a6a23142694521 (patch) | |
tree | 4ce76ee9e940f1cfc85bb518273b451bca15365b | |
parent | d969775d9c759407b885e85c8a8135b7f1abb5ce (diff) | |
download | cpython-0f0c06a5c2ebe8c24414b50bf7a6a23142694521.zip cpython-0f0c06a5c2ebe8c24414b50bf7a6a23142694521.tar.gz cpython-0f0c06a5c2ebe8c24414b50bf7a6a23142694521.tar.bz2 |
Removing dead code.
-rw-r--r-- | Modules/_sre.c | 11 |
1 files changed, 0 insertions, 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) |