aboutsummaryrefslogtreecommitdiff
path: root/model.h
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2013-08-15 11:04:57 +0800
committerTeddy <ted.sybil@gmail.com>2013-08-15 11:04:57 +0800
commit9f9bd0ee34422aceb9725276292a66b0e7934c6a (patch)
tree4e9044237f3b7004b3b8598fe2c53546ab29dc25 /model.h
parent06d014cb0e95f92945ea01610fd1c52a1b087502 (diff)
tail-rec for `if` and `and`
Diffstat (limited to 'model.h')
-rw-r--r--model.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/model.h b/model.h
index 964d68b..ba40137 100644
--- a/model.h
+++ b/model.h
@@ -21,24 +21,6 @@ const int CLS_CONTAINER = 1 << 20;
#define TO_PAIR(ptr) \
(static_cast<Pair*>(ptr))
-#define EXIT_CURRENT_ENVT(lenvt) \
- do { \
- gc.expose(lenvt); \
- lenvt = cont->envt; \
- gc.attach(lenvt); \
- } while (0)
-#define EXIT_CURRENT_CONT(cont) \
- do { \
- gc.expose(cont); \
- cont = cont->prev_cont; \
- gc.attach(cont); \
- } while (0)
-
-#define EXIT_CURRENT_EXEC(lenvt, cont) \
- do { \
- EXIT_CURRENT_ENVT(lenvt); \
- EXIT_CURRENT_CONT(cont); \
- } while (0)
/** @class FrameObj
* Objects that can be held in the evaluation stack