Skip to content

Commit

Permalink
p2: skip global destruction with jit or non-DEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
Reini Urban committed Mar 22, 2013
1 parent b73514d commit ba6b55f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions front/p2.c
Expand Up @@ -383,7 +383,9 @@ int main(int argc, char *argv[]) {
"}"), exec == EXEC_JIT ? 1 : 0);
}
END:
#if !defined(POTION_JIT_TARGET) || defined(DEBUG)
if (P != NULL)
potion_destroy(P);
#endif
return 0;
}

0 comments on commit ba6b55f

Please sign in to comment.