]> gitweb.factorcode.org Git - factor.git/commitdiff
VM: the context_object_count must be wrong, there are only 4 of them
authorBjörn Lindqvist <bjourne@gmail.com>
Fri, 7 Aug 2015 00:18:50 +0000 (02:18 +0200)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sat, 15 Aug 2015 03:19:50 +0000 (20:19 -0700)
core/kernel/kernel.factor
vm/contexts.hpp

index 49a227b76f887c166d3b9e99ce4dde0a00e846a3..aef320657536c2ab791b127af016556b7c3ef957 100644 (file)
@@ -419,7 +419,7 @@ CONSTANT: OBJ-VM-GIT-LABEL 77
 ! Context object count and identifiers must be kept in sync with:
 !   vm/contexts.hpp
 
-CONSTANT: context-object-count 10
+CONSTANT: context-object-count 4
 
 CONSTANT: CONTEXT-OBJ-NAMESTACK 0
 CONSTANT: CONTEXT-OBJ-CATCHSTACK 1
index b3b3af363c4b761e9223792be26eb2d3382d2d57..f86e830de7692355d0c83a2916f11b2375cdcb0d 100644 (file)
@@ -3,7 +3,7 @@ namespace factor {
 // Context object count and identifiers must be kept in sync with:
 //   core/kernel/kernel.factor
 
-static const cell context_object_count = 10;
+static const cell context_object_count = 4;
 
 enum context_object {
   OBJ_NAMESTACK,