]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/objects.hpp
Add context-specific special object table, generalizing catchstack_save and current_c...
[factor.git] / vm / objects.hpp
index 2d777ac5165454788600daafad79b11779f55f18..772863d3f1f02cd35c74e33dd9848d6a28ce9c64 100644 (file)
@@ -4,11 +4,7 @@ namespace factor
 static const cell special_object_count = 70;
 
 enum special_object {
-       OBJ_NAMESTACK,             /* used by library only */
-       OBJ_CATCHSTACK,            /* used by library only, per-callback */
-
-       OBJ_CURRENT_CALLBACK = 2,  /* used by library only, per-callback */
-       OBJ_WALKER_HOOK,           /* non-local exit hook, used by library only */
+       OBJ_WALKER_HOOK = 3,       /* non-local exit hook, used by library only */
        OBJ_CALLCC_1,              /* used to pass the value in callcc1 */
 
        ERROR_HANDLER_QUOT = 5,    /* quotation called when VM throws an error */