From c00487b3eee60a51ded73e4ec6c1ebca5f2db297 Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Tue, 7 Aug 2018 14:27:25 -0400 Subject: [PATCH] bootstrap.layouts: calculate num-types --- core/bootstrap/layouts/layouts.factor | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/bootstrap/layouts/layouts.factor b/core/bootstrap/layouts/layouts.factor index 24269b2579..df821996a0 100644 --- a/core/bootstrap/layouts/layouts.factor +++ b/core/bootstrap/layouts/layouts.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2007, 2009 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. -USING: alien arrays byte-arrays kernel layouts math namespaces -quotations strings words ; +USING: alien arrays assocs byte-arrays kernel layouts math +namespaces quotations strings words ; 16 data-alignment set @@ -29,6 +29,6 @@ H{ { dll 13 } } type-numbers set -14 num-types set +type-numbers get assoc-size num-types set 2 header-bits set