summaryrefslogtreecommitdiff
path: root/src/lisp/ao_lisp.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2016-11-17 16:04:38 -0800
committerKeith Packard <keithp@keithp.com>2017-02-20 11:16:51 -0800
commit2ce7ab37df07b3c1ea1ca9befc06477e3b6cdeac (patch)
tree7c6bfa001c3c95680d8251191a266af8e043b527 /src/lisp/ao_lisp.h
parentd37945f1404043e6bd287ce7ad7a57bc3289609b (diff)
altos/lisp: Remove some stale frame debugging checks
No-one sets frame->_num to 0xff to hit these Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/lisp/ao_lisp.h')
-rw-r--r--src/lisp/ao_lisp.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/lisp/ao_lisp.h b/src/lisp/ao_lisp.h
index 25d13fa3..bcefbabf 100644
--- a/src/lisp/ao_lisp.h
+++ b/src/lisp/ao_lisp.h
@@ -164,22 +164,15 @@ struct ao_lisp_frame {
#define AO_LISP_FRAME_MARK 0x80
static inline int ao_lisp_frame_num(struct ao_lisp_frame *f) {
- if (f->_num == 0xff)
- ao_lisp_abort();
return f->_num & AO_LISP_FRAME_NUM_MASK;
}
static inline int ao_lisp_frame_marked(struct ao_lisp_frame *f) {
- if (f->_num == 0xff)
- ao_lisp_abort();
return f->_num & AO_LISP_FRAME_MARK;
}
static inline struct ao_lisp_frame *
ao_lisp_poly_frame(ao_poly poly) {
- struct ao_lisp_frame *frame = ao_lisp_ref(poly);
- if (frame && frame->_num == 0xff)
- ao_lisp_abort();
return ao_lisp_ref(poly);
}