Skip to content

Commit

Permalink
rearrange some bad code to be slightly less bad
Browse files Browse the repository at this point in the history
  • Loading branch information
Whiteknight committed Nov 10, 2010
1 parent d67e5d4 commit 9afb8d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/embed/api.c
Expand Up @@ -7,8 +7,8 @@
Interp * (i) = PMC_IS_NULL(p) ? NULL : GET_RAW_INTERP(p); \ Interp * (i) = PMC_IS_NULL(p) ? NULL : GET_RAW_INTERP(p); \
void *_oldtop = (i)->lo_var_ptr; \ void *_oldtop = (i)->lo_var_ptr; \
if (_oldtop) {} else (1)->lo_var_ptr = &oldtop \ if (_oldtop) {} else (1)->lo_var_ptr = &oldtop \
if (!(i)) \ PARROT_ASSERT(i); \
return 0; \ PARROT_ASSERT((i)->lo_val_ptr); \
if (setjmp(_env)) { \ if (setjmp(_env)) { \
(i)->api_jmp_buf = NULL; \ (i)->api_jmp_buf = NULL; \
return 0; \ return 0; \
Expand Down

0 comments on commit 9afb8d6

Please sign in to comment.