diff --git a/core/bootstrap/stage1.factor b/core/bootstrap/stage1.factor index 5c55bb15ca..9a0f8f9d1f 100755 --- a/core/bootstrap/stage1.factor +++ b/core/bootstrap/stage1.factor @@ -19,8 +19,13 @@ load-help? off [ [ ! Rehash hashtables, since bootstrap.image creates them - ! using the host image's hashing algorithms - [ hashtable? ] instances [ rehash ] each + ! using the host image's hashing algorithms. We don't + ! use each-object here since the catch stack isn't yet + ! set up. + begin-scan + [ hashtable? ] pusher [ (each-object) ] dip + end-scan + [ rehash ] each boot ] %