btcs

bitcoin script parser/evaluator/compiler/decompiler
git clone git://jb55.com/btcs
Log | Files | Refs | README | LICENSE

commit b05dea298816c666b3e6ad58824c8140fa115f6b
parent 0752e2d45d5d97a1ac2a7436156695980da31947
Author: William Casarin <jb55@jb55.com>
Date:   Wed, 25 Oct 2017 20:14:31 -0700

debug: turn off some debugs

Diffstat:
Mop.h | 2+-
Mstack.c | 2+-
Mstack.h | 2+-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/op.h b/op.h @@ -330,7 +330,7 @@ const char * val_name(struct val); static inline void stack_push_val(struct stack *stack, struct val val) { -#if DEBUG +#if 0 printf("pushing val "); val_print(val); printf("\n"); diff --git a/stack.c b/stack.c @@ -47,7 +47,7 @@ stack_expand(struct stack *stack) { void stack_push(struct stack *stack, void *val) { - #if DEBUG + #if 0 printf("pushing: %d %p\n", stack_size(stack), val); #endif diff --git a/stack.h b/stack.h @@ -43,7 +43,7 @@ stack_size(struct stack *stack) { static inline void stack_push_small(struct stack *stack, void *p, size_t size) { -#if DEBUG +#if 0 u8 *b = (u8*)p; printf("pushing small", ""); for (size_t i = 0; i < size; ++i) {