VM: the context_object_count must be wrong, there are only 4 of them

db4
Björn Lindqvist 2015-08-07 02:18:50 +02:00 committed by John Benediktsson
parent cc80c37bbb
commit 81057c4108
2 changed files with 2 additions and 2 deletions

View 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

View 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,