From 81057c410842a507528356ac73d4a1bc4f9f3ed9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Lindqvist?= Date: Fri, 7 Aug 2015 02:18:50 +0200 Subject: [PATCH] VM: the context_object_count must be wrong, there are only 4 of them --- core/kernel/kernel.factor | 2 +- vm/contexts.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/kernel/kernel.factor b/core/kernel/kernel.factor index 49a227b76f..aef3206575 100644 --- a/core/kernel/kernel.factor +++ b/core/kernel/kernel.factor @@ -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 diff --git a/vm/contexts.hpp b/vm/contexts.hpp index b3b3af363c..f86e830de7 100644 --- a/vm/contexts.hpp +++ b/vm/contexts.hpp @@ -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,